Hi Everyone,
I have one button "Send Mail", by clicking this button i have to send the mail to corresponding user. In that inbox there is one link received. Then i open the gmail and see the mail. If i click the link then automatically send the confirm message to sender mail. How to do. Just tell the solution.
Thanks In Advanced
Biswa Pujarini MohapatraPosted Jan 20, 2014, 2:39 AM
using System.Net.Mail;
MailMessage message = new MailMessage();
message.From = new MailAddress("[email protected]");
message.Subject = "Subject";
message.Body = "Please Click here";
SmtpClient smtp = new SmtpClient();
message.To.Add("[email protected]");
smtp.Send(message);
now in the Page_load event of yourpageaspx use the above code to send email change the sender and receiver email
Hope it helps