hello, Im trying to send email using MD5 Challenge Response, but it is not working with me, heres the code i am trying:
System.Net.Mail.MailMessage mMsg = new System.Net.Mail.MailMessage("bshouman@gmail.com", "bshouman@gmail.com", "test", "test");
mMsg.IsBodyHtml = true;
System.Net.Mail.SmtpClient smtpC = new System.Net.Mail.SmtpClient();
smtpC.Host = "mail.***.com";
smtpC.Port = 465;
smtpC.EnableSsl = true;
smtpC.UseDefaultCredentials = false;
System.Net.NetworkCredential creds = new System.Net.NetworkCredential("sales@***.com", "***", "***.com");
smtpC.Credentials = creds.GetCredential("mail.***.com", 465, "CRAM-MD5"); ;
smtpC.Send(mMsg);This is the error Im getting:
Sys ...
Go to the complete details ...