SmtpClient client = new SmtpClient(exchangeServer, 587); client.Credentials = new System.Net.NetworkCredential(username, password); client.EnableSsl = true; //This is the you need to do client.Send(msg);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)