Send Emails in Batches
By default, the IDOL Community component sends emails individually. To speed up the email process, you can configure Community to send emails in batches. The mailer can continue generating emails while sending batches of emails.
-
Open the IDOL Community component configuration file in a text editor.
- Find the
[Email]
section. -
Add the following configuration parameter:
MaxEmailsToSendBatchProcess Specify the maximum number of emails to store in the queue before sending as a batch.
The default value is
20
. -
You can slow the email process by using the following configuration parameter:
SleepBetweenSentEmails Specify a sleep time (in milliseconds) after the mailer sends each email.
The default value is 0.
For example:
[Email] MaxEmailsToSendBatchProcess=100 SleepBetweenSentEmails=50