SMTP Email Question

More
3 months 3 weeks ago #166538 by BBCMResearch
BBCMResearch created the topic: SMTP Email Question
Hi everyone,

One of our surveys uses an SMTP email function to send batches to about 80,000 participants, but we've had to limit our batch size to only a few thousand at a time to keep our server from timing out. I know there are a lot posts around her about how to simplify large email batches, including 3-4 very good php scripts and plugins.

I don't do anything on the server-side though, other than ask our admin to fix things for me. He doesn't check these forums because he doesn't build and analyze surveys. So I'm asking on his behalf, so he can see if he can tweak our server to improve our email capabilities:

When LimeSurvey sends out an email batch, does it engage multiple Apache workers?

I'm not sure what that means, but if someone could answer it for me, my admin would appreciate it.

Thanks!

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #166548 by jelo
jelo replied the topic: SMTP Email Question

BBCMResearch wrote: When LimeSurvey sends out an email batch, does it engage multiple Apache workers?

The questions is where and what is timinig out.
LimeSurvey is using the phpmailer class for sending emails. The communication via SMTP is between php and mailserver. The Apache is not involved in the sending procedure itself. Apache delivers HTML to your browser.

Perhaps the SMTP-server is not able to receive 80.000 emails in its queue. The timeout might be prevented when raising the timeouts of LimeSurvey. Or optimizing the SMTP-server.
github.com/LimeSurvey/LimeSurvey/blob/ma...pmailer/src/SMTP.php
The following user(s) said Thank You: BBCMResearch

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!