how to send mail in future date using asp.net c#?

Posted by Prabu_Spark under ASP.NET on 4/28/2013 | Points: 10 | Views : 1871 | Status : [Member] | Replies : 2
Hi sir,
Tell me the steps to send mail in future date using asp.net c#. Kindly give me the solution for this problem.


[Note: If i set the date and time, it has to send the mail in that mentioned date and time]

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: Jitendrasoft09 on: 4/28/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello,
you have to set your future date into variable and give the condition when future date matches to current date then you send your mail.
Please find below link that would be helpful for you.
http://www.dotnetspider.com/forum/325314-how-send-mail-future-date-using-asp.net-c.aspx

Jitendra Kumar
If my post helps you, plz mark as an answer.

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Worldtraveler on: 5/22/2013 [Member] Starter | Points: 25

Up
0
Down
The Microsoft .NET framework provides two namespaces, System.Net and System.Net.Sockets to send or receive data over the Internet. SMTP protocol is using for sending email from C#. C# use System.Net.Mail namespace for sending email.
To send e-mail you need to configure SMTP server. If you don't have any SMTP, you can use free SMTP server. You can also use your gmail account.
for more:

http://cybarlab.blogspot.com/2013/03/send-e-mail-using-c-sharp.html

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response