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

Microsoft Access and ASP connection script for Windwos 2008 / 2012 shared hosting

If your website is hosted on our Windows 2008 or Windows 2012 shared hosting server, you will...

How to disable Deprecated Function Notices in PHP.

PHP has deprecated some functions in latest version. If the same functions are still on your...

How to send emails using ASP.Net (VB)?

This topic includes the sample code to send email from ASP.Net(VB) code :Sample Code :<%@...

Sample script for CDO email

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

How to send email through CDONTS Email?

CDONTS stands for "Collaboration Data Objects for Windows NT Server" and as the name suggests it...