Send Email using ASP.Net (VB.Net)

ASP.Net has built in class to send email via script. You can send email with or without authentication using ASP.Net namespace System.Net.Mail.

Following is the sample code to send mail using ASP.Net (VB.Net):

Make sure to make necessary changes in your script (i.e. SMTP server, email address, password etc.)

Posted in Scripts and tagged , .

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.