Categories

Tags

Email example

Send an email

Email example

<%@Page Explicit="False" Language="VB" Debug="True" %>
<%@Import Namespace="System.Web.Mail" %>
<%

Dim EmailTo As String = "test@test.com"
Dim EmailFrom As String = "myemail@myemail.com"
Dim EmailSubject As String = "Sample Email"
Dim EmailBody As String = "Test email"
System.Web.Mail.SmtpMail.Send(EmailFrom

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Comments are closed.