Click here to Skip to main content
15,890,995 members
Please Sign up or sign in to vote.
1.57/5 (5 votes)
hi sir am krishna,
i have created asp.net web application,i va use this Asp.net 2.0, C# code,Sql server database .. in this project normally i had to use mail concept to sent mails.. i got that new one problem for the particular date
i want to send email to remind the customer with automatically..so i have no idea to how this doing in automatic email concept... i need some help.. i want to idea how to do this way? and example codes..pls help as soon as possible
Posted
Updated 19-Jul-16 18:07pm
v2
Comments
Varun Sareen 13-Feb-12 2:14am    
Dear Friend,

There are lots of articles on how to send email through C#.net. All the customization part you can do yourself accordingly. Please try to write some code and when you face problem then post your question here with some code snippet.

Thanks
--Varun

Ah it is the automated issue that is the problem.

I would use a SQL server job that runs periodically to check for expired data events and generate the email and send it via SQL mail and SMTP.

Either that or use a timer in your c# app to do the same thing.

You could also write a service that does the same thing.

There are quite a number of option to this.
 
Share this answer
 
You need to have a service (or an application) running on the server (or which is run on the server as regular intervals) which monitors your data source, and sends the emails. Be aware though, that many hosts - particularly the cheaper ones - monitor the number of emails sent and will use arbitrary limits to decide that your site is a spambot and disable your email. Check with your host before continuing.
 
Share this answer
 
Hi,

This solution somewhat related to ur problem ...

http://msdn.microsoft.com/en-us/library/ms182079%28v=sql.90%29.aspx[^]
 
Share this answer
 
You can create a window service for that and install it at your server, and in window service, you can logically schedule the mails to send
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900