bulk email tweaks

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
5/30/2012 3:23:54 PM
Gravatar
Total Posts 87

bulk email tweaks

Hi,

many providers has limits to send number of email's per hour or per day. Is there way to make some configuration to make artificial delay in sending bulk mails?

may be some configurable option for ThreadSleep in EmailMessageTask.RunTaskOnNewThread or any other more appropriate place? 

So if I know that my provider only will accept 300 emails per hour i can set 12 or 15 seconds to send each next email instead of 0.10 seconds that is used now the mail sending will take few hrs instead of few minutes, but it may be good solution for low-cost hosting and low-budget projects.

Regards,

Victor

5/30/2012 3:52:20 PM
Gravatar
Total Posts 18439

Re: bulk email tweaks

Hi Victor,

We already have such a setting, you can add this to user.config:

<add key="NewsletterMaxToSendPerMinute" value="5" />

Since there are 60 minutes in an hour that should send approximately 300 in one hour. Or you may want to set it to 4 if you have other things such as forums that may also be sending email at the same time.

I've just updated the documentation article Sending Bulk Email to mention these settings.

Hope that helps,

Joe

5/30/2012 4:26:36 PM
Gravatar
Total Posts 87

Re: bulk email tweaks

And again you few steps ahead. thank you very much.

You must sign in to post in the forums. This thread is closed to new posts.