Site - Scheduled Email Task?
Mar 1, 2011
Im about to develop a site which will need 2 types of email function: the first will be simple enough, just a realtime email using system.net.mail when certain conditions are met in the underlying DB. the second is to send out an email at the end of each day covering everything that happened during the day. WOuld that have to be set up as a scheduled task?
View 3 Replies
Similar Messages:
Feb 24, 2011
The host I use for our site lets us schedule a task, we can pointo the site and a file on the site. I'm not clear on how to make the file I point to actualy do something like run a stored procedure or send and smtp email or run some code in my app.
View 3 Replies
Mar 14, 2011
How can I add a Task in Windows Scheduled Tasks using Asp.Net.
View 3 Replies
May 28, 2010
How to execute asp.NET code in scheduled task of windows?
View 5 Replies
Mar 9, 2011
I have a windows shared hosting and i need to run some scheduled c# executable every day for create sitemap, send newsletter,etc...The provider tell me that i can't run executable for security reason.Whay can i do?The provider suggest me to buy a VPS, but do not think it makes sense to spend more money just to run some scheduled task.
View 3 Replies
Aug 24, 2010
i bought a hosting plan that allows me to send about 500email/per hour but my client wish to send about 2000 or 3000 email at a time. is there a way to split them and 500 email per a time automaticly without the need of reloging again every hour. my hosting plan doesn't allow me to create a sql jop or send mails via Sql Server.
View 6 Replies
Sep 7, 2010
I have a asp.net web site, I would like a page on that site to be able to invoke a Windows Scheduled task or a batch file on a server different to the IIS server?
Is it possible?
View 2 Replies
Dec 27, 2010
As indicated in the Subject, I have a web application (say APP) that should feature an e-Mail Notification Service (ENS). Activation of the Service is controlled by a Button in a dedicated page where some parameters are also included to set running Period (FromTime - ToTime), Interval, Recipients, etc.
When said button is clicked, it should maintain those parameters into database then launch ENS. Since ENS is expected to run for good according to set parameters, it logically should run as an external application/service, independent from APP.
When ENS starts, it needs to consult database to fetch parameters, then schedules its Timer to periodically check database for some transactions that when found, should trigger ENS to dispatch e-Mails to concerned Recipient(s).
CHALLENGES:
1. Launch ENS as an external application on button click from APP.Achieved by using System.Diagnostics.Process class. However, I encountered a problem in verifying if the process is already running before starting it. The root of the problem lies in
ProcessName property. Since ALL web applications must be launched via IE, hence, have
iexplore as their ProcessName, which is also applicable to all processes started through IE, it is very likely to have multiple processes utilising IE. How to check which is which? I couldn't figure out that.
Eventually, I ended up with a workaround: when the Process is started from APP, capture its ID and save it to database, then use this ID with GetProcessById() method for later verification. When the Process is terminated, reset stored ID in database.
2. What sort of application should ENS be: Windows Application or Web Application?
In either way however, ENS will always run invisible in the background being a Process. If this is the case, how about creating it as a Windows Service instead?
I did a lot of reading but still confused. However, the choice is limited now to either Web Application or Windows Service. Which one is more convenient to the task in hand?
3. What Timer to use?
I tried System.Timers.Timer in a test web application but it didn't fire! Then I used ASP AJAX Timer and it worked pretty well (I still need though to try running it from APP to judge its functionality). I came across some recommendations to use System.Threading.Timer but haven't tested that yet. Would it worth the trial?
4. ENS as a Windows Service.
If I create ENS as a Windows Service, would I be able to communicate with database? How would this influence the Timer to use?
View 4 Replies
Mar 30, 2013
i wnat to sechdule message on asp.net. Like if i create a messge reminder to registerd members so they recive messge on paricular date time.
View 1 Replies
Sep 28, 2010
Need a way to write in c# something that we can query access database and send out individual emails using 3 seperate templates based on the users selection. basically users have been signing up to receive an email later in the year.. there are 3 possible email templates that are designed and will be sent based on what the user selected. So when the time comes, we need to take and query the access database and send an email to the user with the template they picked.
I see alot of software packages, but cost more than what we can spend(no budget), so we need something simple and free that can be scheduled to send on certain day and time. Or if there are any tutorials on creating something to do this, doesnt need to be fancy
View 7 Replies
Jun 23, 2010
I have a web service that I have successfully published locally several times through VS2008. When I attempt to publish this service through VS2010, a dialog window is displayed where you must enter a 'Service URL' and 'Site/Application.' The service URL is not a problem, but what do I enter as a 'Site/Application?'
My entries are as follows:
Service URL: http://localhost/gfIDSProxyAccess/Service1.asmx
Site/Application: localhost/gfIDSProxyAccess
I also tried localhost, gfIDSProxyAccess, www.gfcpa.com, gfcpa.com, www.gfcpa.com/index.html and localhost/gfIDSProxyAccess/Service1.asmx, with and with and without the http://.
View 1 Replies
Jan 24, 2016
How to Automatically send birthday emails daily at specific time using in global.asax in asp.net without using windows services.
Firstly check and fetch all records of Students who have a Birthday today ....
View 1 Replies
Mar 28, 2010
When you use the -65 - [How Do I] Use ASP.NET to Send Email from a Web Site exam link [URL] show error
Failure sending mail. where this error in web.config
<appSettings>
<add key="fromEmailAddress" value="programer_ahmedmohamed@hotmail.com"/>
</appSettings>
<!--Externalize From address-->
<connectionStrings/>
<!--Mail settings-->
<system.net>
<mailSettings>
<smtp>
<network host="smtp.east.cox.net"/>
</smtp>
</mailSettings>
I do not know <network host="smtp.east.cox.net"/>
View 5 Replies
Jul 8, 2010
I have a web form which will send bulk email to our site suscribers, they maybe hundreds or even thousands.Is System.Net.Mail optimal for this purpose?
View 18 Replies
Jan 6, 2010
My question is today, i have a web system. its every we need send more than 1000 emails to system users and for their activity. its must we need send from asp.net application. so i have written common class to send email its worjing well. but when i'm use without thread it take time to send email adn re direct to thier pages. but after that i try use this
ThreadPool.QueueUserWorkItem(delegate { SendEmail(emailto, subjecttext, bodyText, IsHtmlFormat, CCEmails, BccEmails, enumSenderFrom, hasLogo); });
Its now workign well, but i have read some articles ThreadPool.QueueUserWorkItem is not good when site get heavy traffic. so what is best way to do i'm expecting expert comments to this
Here :[URL]
View 7 Replies
Nov 23, 2010
I have a feedback form that should send an email to the site Admin. This is just on my laptop in development stage and not on a server, but I think it still should function with my personal email account settings, shouldn't it? Everything seems to work fine - there are no error messages. But no emails are received in my testing.
Code Behind:
[Code]....
Web Config:
[Code]....
View 13 Replies
Feb 22, 2012
How is it possible to "auto call" a website when an email is opened?
For example, some mail marketing campaign sites offer services to track email clicks and when an email gets opened.
I don't know exactly how they manage to find out when an email gets opened irrespective if they clicked on an link within the email to track clicks.
How does one do this, so when an email gets opened, a silent call is made to a page in the background to indicate that the email has been opened?
View 5 Replies
Apr 16, 2010
When the member comes back to the site after verifingt the new email address, I need to check if he/she is logged on ( ie cookie is active) to the site for redirection. And If he/she is not logged on maybe log them on then redirect
View 1 Replies
Jan 18, 2011
I have a social networking website. I need a ASP.NET script for the below.
Address Book Import Members can import their contacts from Yahoo, Gmail, AOL, Hotmail, MSN, rediffmail and other networks like MySpace, linkedin, facebook and invite them to join your site.
I need you to develop just the script.
We will copy paste the script into our invite a friend page in the appropriate location into our website.
People who have done it earlier OR having a script quote.
I want you to deliver the script in a form, such that it is exclusively licenced to my domain and cannot be re-used by others thru copying it unless I authorise it.
View 6 Replies
Feb 2, 2011
iv'e looking the web for some solution without any success (some of them using VB, some of them for global file and some of them are not working) i want to put some code (not in application / global file) only in one page of my site, that send to my email address exceptions details in case there is some.(c#)
View 1 Replies
Nov 30, 2010
I don't know much about the .Net environment, so my first idea was to just write a console app that scans the folder for new content, and then emails alerts out. Then put the .exe as a scheduled task on the server, executing every few minutes. This seems pretty archaic to me though. Is there a more elegant way to do this for my website?
View 3 Replies
Sep 2, 2012
a vistor subscribes for newsletter by providing emailid.a mail should be automically sent to that email with verification link.when owner upon clicking verifcation link is confirmed to send newsletter.
View 1 Replies
Jul 1, 2010
i need to make something like a "Live Help" image, that depending on a day or time it will show imageA or imageB. the site is in .net however i could use javascript it it's better that way
View 3 Replies
Apr 12, 2010
I have a hosted site and just added some additional error notification to my global.asax file and works like a charm. I decided to add the same logic to our test server and it doesnt work. The server.transfer never happens and the email never gets updated. Now i know the email works on the test and production server since we have other pages that use the same SMTP server name and setup as i have in the global file. Below is my code as it is in the file now. I setup a test page to cause an error and the page displays the detailed error which we dont want. But i would like to be notified if this happens. What am i missing? I can only assume that its a IIS confige issue, since the exact same code works on a hosted site, but not at work on our test or production servers. Here is the code i have in the global.asax
[Code]....
View 18 Replies
Aug 30, 2010
I have weekly wise scheduled hours of each employee and no of days scheduled for each employee,now i need to calculate no of employees scheduled less than 24 hours,no of emp's scheduled b/w 24 and 48 hrs and emp's scheduled more than 48 hrs in percentage for fisrt week,second week,3rd week and 4th week.
Like this
SCheduled Hrs 8/1/2010 8/8/2010 8/15/2010 8/22/2010
Less tha 24 hrs 5% 5% 5% 5%
b/w 24 and 48 hrs 4% 5% 5% 5%
>48 91% 90% 90% 90%
View 5 Replies