Skip to content

How to send automatically reply mail by clicking inbox mail.

Lawrence raja

Asked Jan 19, 2014, 6:35 PM EST1 answer
Share
LinkedInX
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 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Biswa Pujarini Mohapatra
    0
    VB.NET
    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

    0