facebook  linkedin  Twitter  skype  Rss googlePlus

Entries for 2002

Sending Email from your .Net Application

Dec 03 2002
4270
The .Net framework comes complete with feature rich email sending capabilities. No more need to use third party components, now you have it built into the framework. The following code provides a quick overview of calling the MailMessage object from ASP.Net First make sure you create a reference to the System.Web.Mail at the top of your VB class file. Imports System.Web.Mail The following code snippet is a VB subroutine that we create for calling from any of your ASPX pages. Public Sub SendEmail(ByVal strFrom As String, ByVal str...