Skip to content

Error In Send mail .?

Ajit More

Ajit More

Asked Aug 10, 2014, 11:17 PM EDT1 answer
Share
LinkedInX
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 = "logo
 
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(); 

1 Answer

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

  • 0
    whats the error that you get? i mean can you please paste stack trace.
    0