How to programmatically send bulk mailouts


How to program bulk mailouts.


The COM component that is supplied with MailEnable Professional and Enterprise Editions is not really designed for bulk mailouts. It will generate a separate message for each recipient, and therefore, it will do bulk mailouts, but not as efficiently as possible. As an example, if you were to send a message to 100 addresses at, it would send 100 separate messages to rather than sending a single message with multiple recipients.

As an alternative, it may be better to write the message directly into the SMTP Outgoing message queue (please see MailEnable Program Guides under the MailEnable program group, or from our web site ). This outlines how command files and message files work and how to places messages directly into the queues.

Here is some further information on injecting mail into the MailEnable outgoing queue:

This way it is possible to construct a command file of up to 100 recipients and the SMTP connector would dispatch them in one go. Ideally, it is best to have each message command file contain all of the mail for a single domain, that way only a single message is sent to the remote domain. If using this route, use the NextSendTime entry in the command file to schedule the delivery of the message. The NextSendTime entry is in UTC format (number of seconds since the 01/01/1970).

Note: Do not configure more than 300 recipients per message command file. Recipients must be in MailEnable's internal format; ie: [SMTP:User@DomainName] - the Developer API guide explains this.


Messages may be incorrectly diagnosed as viruses when performing bulk mailouts:

How to tune the SMTP Connector for bulk mailouts:

Product:MailEnable (All Versions)
Class:HOWTO: Product Instructions
Revised:Wednesday, May 4, 2016