Dim client As SmtpClient = New SmtpClient() client.DeliveryMethod = SmtpDeliveryMethod.Network client.EnableSsl = "True" client.Send(msg)
<system.net> <mailSettings> <smtp from="user@live.com"> <network host="smtp.live.com" port="587" userName="user@live.com" password="pass" defaultCredentials="false" /> </smtp> </mailSettings> </system.net>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)