Question

Script crashes while sending emails

I am using mandrill to send emails to around 3k subscribers. but the script crashes due to time limit of script execution.

Does DO penalize for this? If I increase the script execution time is that going to effect my droplet?

Is there any best practice or method to send emails using mandrill.

System config: CentOS Apache Mysql PHP.

I am using while loop in php script to select email from database and send email to them.

Thanks for help in advance.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks for your reply @kamal

Does DO penalize for this?

No.

If I increase the script execution time is that going to effect my droplet?

It shouldn’t.

Is there any best practice or method to send emails using mandrill.

Mandrill is a transaction mail service. It’s not meant to be used for such high quantities. Take a look at MailChimp instead, which is owned by the same company that owns Mandrill.