How to send email via JMail Script

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Shane
    Senior Member
    • Jun 2006
    • 264

    How to send email via JMail Script

    Hello All,

    One can send email from their domain via JMail script. Below mentioned is sample script for JMail:

    <%
    Set JMail = Server.CreateObject("JMail.SMTPMail")
    JMail.ServerAddress = "mail.<your domain here>"
    JMail.Sender = "sender's email address"
    JMail.Subject = "Here subject line of the email"
    JMail.AddRecipient "Recipient Email address"
    JMail.Body = "Body Contents of the message"
    JMail.Priority = 1 ' Set Priority [1- Urgent, 3-Normal, 5-Lowest]
    JMail.Execute
    %>


    Thanks,

    Shane G.
    AccuWebHosting.Com
    Last edited by Shane; 02-18-2009, 01:12 PM.
VPS Hosting
Working...
X