C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Automatic Sending Mails 2 clients


Posted Date: 04 Sep 2008      Total Responses: 1

Posted By: Gaurav Agrawal       Member Level: Diamond     Points: 1



Hi friends,

I want to send e-mail to my all customers on daily basis at the time of 9:00 AM. it will do automatically by using c# code or SQL Procedure but how???
I can't decided that how it will work automatic without run any page of my web application.
Can u help me to give some guidance or code for do this......

Thanks

GA





Responses

Author: Ramesh    04 Sep 2008Member Level: SilverRating:     Points: 2

Hi,

You can create a windows service and write the code for sending the email in it. you can then configure the windows service to start at a specified time daily. It will automatically send the email daily.

Else you can write a console application for sending email and assign it to a Windows Scheduled Task to run daily at a specified time.

Refer the link for creating a Scheduled Task
http://support.microsoft.com/kb/308569

Thanks,
Ramesh



Post Reply
You must Sign In to post a response.
Next : Free asp.net tutorials for commercial purpose
Previous : javascirpt problem in usercontrol
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use