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 = "[email protected]"
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 use ASPSMS?

Here is the ASP VB-Script example, intended to be used on an IIS (Internet Information Server)...

How to send Emails via ASP using SMTP authentication?

This topic includes the sample code to send email from ASP.Net using C# code :Sample Code :<%@...

How to use Dundas Chart?

How to create a Basic Pie Chart with Dundas Chart To use this control in a web site, you will...

How to use ASP Simple Upload component?

Sample code: <% Option Explicit Dim upl, NewFileName Set upl =...