

WriteLine ( "email was sent successfully!" ) Catch ep As Exception Console. " ) Dim oSmtp As New SmtpClient () oSmtp. WriteLine ( "start to send email over SSL. Port = 587 ' detect SSL/TLS connection automatically oServer. Password = "yourpassword" ' set 587 port, if you want to use 25 port, please change 587 to 25 oServer. TextBody = "this is a test email sent from VB.NET project with hotmail" ' Hotmail SMTP server address Dim oServer As New SmtpServer ( "" ) ' Hotmail user authentication should use your ' email address as the user name. Subject = "test email from hotmail account" ' Set email body oMail. From = ' Set recipient email address, please change it to yours oMail. Imports EASendMail 'Add EASendMail namespace Module Module1 Sub Main () Try Dim oMail As New SmtpMail ( "TryIt" ) ' Your hotmail email address oMail. VB.NET - Sample Projects for SMTP, SSL, TLS, Embedded Images, S/MIME, EWS, Email Queue.Send Email using Exchange WebDAV in VB.NET.Manage Send As Permissions in Exchange 2007/2010/2013.

Send Email using Exchange Web Service - EWS in VB.NET.Send Mass Emails using Database Queue in ASP.NET, VB.NET.Send Email with Queue in ASP.NET, VB.NET.Send Email with Multiple Threads(Mass Mail) in VB.NET.Send Email with Event Handler in VB.NET.Encrypt Email in VB.NET - S/MIME with RC2, 3DES and RSAES-OAEP.Send Email with Digital Signature in VB.NET - S/MIME with SHA1, SHA256, SHA384 and SHA512.Send Email with Embedded Images in VB.NET.Send Email directly without SMTP server(MX DNS lookup) in VB.NET.Send Email using Hotmail/Live/Outlook/Office 365 in VB.NET.SMTP Setting for Gmail, Yahoo, Hotmail and Office 365.Process Bounced Email (Non-Delivery Report).

