Click here to Skip to main content
14,576,970 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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.
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

Hi,

This solution somewhat related to ur problem ...

http://msdn.microsoft.com/en-us/library/ms182079%28v=sql.90%29.aspx[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 5

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
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100