Hi,
Friend when I click on the send button of the following page
I got this error in URL and my mail not send
Following is my code::
MailMessage mailMessage = new MailMessage();
mailMessage.From = new MailAddress("[email protected]");
mailMessage.Subject = "ABC Quotation";
mailMessage.Body = "
Please Find Attachment
Regards,
Anjana Steel Traders
Website:: www.anjanasteel.com";
mailMessage.IsBodyHtml = true;
mailMessage.To.Add(new MailAddress("[email protected]"));
SmtpClient mSMTPClient = new SmtpClient("mail.abc.com", 25);
mSMTPClient.Send(mailMessage);
mailMessage.Dispose();
mailMessage.From = new MailAddress("[email protected]");
mailMessage.Subject = "ABC Quotation";
mailMessage.Body = "

Regards,
Anjana Steel Traders
Website:: www.anjanasteel.com";
mailMessage.IsBodyHtml = true;
mailMessage.To.Add(new MailAddress("[email protected]"));
SmtpClient mSMTPClient = new SmtpClient("mail.abc.com", 25);
mSMTPClient.Send(mailMessage);
mailMessage.Dispose();

Guest UserRank #258 · 9.8K pointsPosted Aug 11, 2014, 8:22 PM EDT