Script crashes while sending emails

July 14, 2014 1.4k views

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.

2 Answers

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.

Have another answer? Share your knowledge.