How to send emails through JMail?

We have installed JMail on our Windows shared servers. You can use following sample script to send emails via JMail.

<%
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "SMTP_SERVER"
JMail.Sender = "mail@YOURDOMAIN"
JMail.Subject = "Email Subject"
JMail.AddRecipient "RECIPIENT_EMAIL"
JMail.Body = "Email contents"
JMail.Priority = 1
JMail.Execute
%>

We don't offer pre-installed JMail with default VPS configuration. However, VPS users can purchase JMail license and install it.


Note: It is recommended to use email list cleaning service before sending out an email campaign
  • 131 Users Found This Useful

Was this answer helpful?


Related Articles

How to use Dundas Upload?

Dundas upload control is a flexible and reliable component allows you to accept, save, and...

How to create ASPNETDB database using aspnet_regsql tool?

What is ASPNETDB? Microsoft has introduced a new and powerful default database schema in...

How to use ASP Email?

ASPEmail 5.0 is an active server component for sending e-mail messages using an external SMTP...

FormMail script for Windows 2008 / 2012 customers

We have developed the formmail script for our Windows shared hosting customers. This script can...

Sample script for CDO email

CDO (Collaboration Data Objects) is an inbuilt ASP component used to send emails via ASP. It is...