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


Return To Home Page

Send Email Using ASPQMail 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 body"
 
 ObjSendMail.QMessage = true
 
 If ObjSendMail.SendMail then
 Else
   Response.Write "Mail send failure. Error was " & ObjSendMail.Response
 End If
 
 Set ObjSendMail = Nothing
%>
 
You of course must edit the values above accordingly.

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 ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets 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