JMail Sample Script

JMail is installed on each of our web servers and may be used to send mail pro-grammatically. Below is a simple example written in ASP. For more information please see the JMail website

Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = ""
JMail.Sender = ""
JMail.Subject = "JMail Sample"
JMail.AddRecipient ""
JMail.body = "This is a sample message sent with JMail."

Replace the values above as appropriate, then place the code in a file on your site called jmailtest.asp. When that's done go to If the test was successful then the specified recipient will receive the test email shortly.

Add Feedback