Posted on: 5/18/2013 5:19:52 AM | Views : 219

I am currently sending mails from my code using smtp, but seems like we will have to migrate to extension server, is there a difference between the two? What changes I need to do in my code?
MailMessage loginInfo = new MailMessage(); loginInfo.To.Add(EmailTxt.Text.ToString()); loginInfo.From = new MailAddress("abc@sde.ca"); loginInfo.Subject = "ABC"; loginInfo.Body = "Your username is: " +"abc"; loginInfo.IsBodyHtml = true; SmtpClient smtp = new SmtpClient(); smtp.Host = "www.smtphost.com"; smtp.Port = 25; smtp.EnableSsl = false; smtp.Credentials = new System.Net.NetworkCredential("abc@sde.ca",&qu ...

Go to the complete details ...