I have an issue. I have situation where I need to send around 3000 emails per request using SMTP. However, only 30-40 reaches destination.
Do you have any idea what can be a problem and how to solve it. as server side script I am using PHP.
|
|
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
I created a mailer for my last job that sends a bit over 3,000 emails every Monday morning (in batches of 50 with a delay between batches depending on the size of the message). 3,000 is not a particularly large amount and there's no reason your system shouldn't be able to handle it with ease. I suspect that your real issue is one of spam. Specifically, unless your system has been appropriately configured and the messages properly constructed and written they will be trapped as spam by most receiving systems. Get those details sorted out and you should be fine. As for the specifics, that's another question altogether and a topic which has been very well covered many times before and doesn't need to be repeated. |
|||
|
|
You should send the mails in batches. The batch size has to be tested but I'd start with 10 to 50 with short delays. If that's not an option you might look into a service like http://aws.amazon.com/de/ses/ |
|||
|
|
|
If you are sending that many and delivery matters, you should look into a company like We use them and you just config postfix to act as a relay and all your mail will get relayed to them. |
|||||||||
|
|
This should run from cron and not from HTTP request, because it will timeout so this way not all mails will be delivered, which you have described. |
|||||||||||||||
|