Switch to full style
ASP/ASP.net examples
Post a reply

Send an email in asp.net

Sat Mar 26, 2011 11:44 pm

Send an email in asp.net

Code:
<%@Page Explicit="False" Language="VB" Debug="True" %>
<%@
Import Namespace="System.Web.Mail" %> 
<%
Dim emailAddressTo As String = "[email protected]"
Dim emailAddressFrom As String = "[email protected]"
Dim emailSubject As String = "ASP Send Mail"
Dim emailContent As String = "Test email"
System.Web.Mail.SmtpMail.Send(emailAddressFrom , emailAddressTo , emailSubject , emailContent )
Response.Write ("email sent.")

%>
 




Post a reply
  Related Posts  to : Send an email in asp.net
 Send email in asp     -  
 send email from ASP using CDOSYS     -  
 Send email link example.     -  
 Send Email from a PHP Script Example     -  
 send confirmation link to email     -  
 Send Email Recipient CC,BCC MimeMultipart, Attachments     -  
 i want to send conformation email with user details on the     -  
 validate email address in asp     -  
 email through JAVA program     -  

Topic Tags

ASP Email