ASPProtect ( Click Here For More Details !!! )
Return To Home Page - Link to "The Wanker" - Contact Us


Return To Home Page

Send Email Using ASPMail from ServerObjects Software



<%
 Dim ObjSendMail
 Set ObjSendMail = Server.CreateObject("SMTPsvg.Mailer")
 
 ObjSendMail.FromName = "someone"
 ObjSendMail.FromAddress = "someone@somesite.com"
 ObjSendMail.RemoteHost = "mail.somesite.com"
 ObjSendMail.AddRecipient EmailTo , "somebodyelse@somesite.com"
 ObjSendMail.Subject = "your subject"
 ObjSendMail.BodyText = "your email bosy"
 
 If ObjSendMail.SendMail then
 Else
   Response.Write "Mail send failure. Error was " & ObjSendMail.Response
 End If
 
 Set ObjSendMail = Nothing
%>
Banner
ASP (Active Server Pages) is a technology developed by Microsoft. Pages using ASP are primarily developed in JScript, or VBScript and are integrated into the HTML of your Web pages. The ASP code is compiled on-the-fly by the server and the resulting output is standard HTML. By using ASP, Web pages can be dynamic, full of ever-changing content, and browser independent.

 

Link to "The Wanker"
© 2007 CodeWanker - Active Server Pages Articles, Code Snippets, & Tutorials