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.
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com,www.abay.com

 

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