| Author: Ritesh Tandon 28 Apr 2007 | Member Level: Bronze | Rating: Points: 2 |
Hi Kalyan
Create a cookie or store every record of expiration in a database. Create a button and do the code on it. Check the date of expiration of account from the database or cookie file. Then retieve the e-mail address of the recipient and send the mail to him. You can send mail via Virtual SMTP on your server only but you have to configure your outlook express and have to give the SMTP and POP address.
|
| Author: sumaa 28 Apr 2007 | Member Level: Gold | Rating: Points: 2 |
using System.Web.Mail;
MailMessage m=new MailMessage(); m.To="sumu.mca@gmail.com"; m.From="abc.def@gmail.com"; m.Subject="hi"; m.Body="Hw R U"; SmtpMail.Send(m);
|