Return To Home Page - Link to "The Wanker" - Contact Us




Return To Home Page

Send Email Using JMail 4 from Dimac Software

<%

 Dim ObjSendMail
 Set ObjSendMail = Server.CreateOBject("JMail.Message")
 
 ObjSendMail.Logging = true
 ObjSendMail.Silent = true
 ObjSendMail.From = "somebody@somesite.com"
 ObjSendMail.FromName = "somebody"
 ObjSendMail.AddRecipient "somebodyelse@somesite.com"
 ObjSendMail.Subject = "your subject"
 ObjSendMail.Body = "your email body"
  
 'If Your email server requires SMTP Authentication uncomment and use the values below
 ObjSendMail.MailServerUserName = "SMTPUsername"
 ObjSendMail.MailServerPassword = "SMTPPassword"
  
 If not ObjSendMail.Send(mail.somesite.com) then
     Response.write "<pre>" & msg.log & "</pre>"
 End If
  
 Set ObjSendMail = Nothing
%>

' Online documentation can be found at
' http://tech.dimac.net/


See all our examples of sending email from ASP:

Send Email Using OCXMail Objects from Flicks Software
Send Email Using QuickSoft EasyMail Objects from QuickSoft
Send Email Using Simple Mail from Adiscon Software
Send Email Using Bamboo Mailer
Send Email Using Dundas Mailer from Dundas Software
Send Email Using SA-SMTP Mail from SoftArtisans Software
Send Email Using JMail 4 from Dimac Software
Send Email Using ASPSMARTMAIL from ASPSMART Software
Send Email Using ASPQMail from ServerObjects Software
Send Email Using ASPMail from ServerObjects Software
Send Email Using ASPEmail from Persits Software
Using CDONTS to send email from ASP.
Sending email using CDOSYS

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 help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free 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