Greetings.

It is necessary to implement a daily mailing of ~ 100K letters.

  1. What problems may arise?
  2. What is the likelihood that emails will end up in spam?
  3. Will the mail server survive?

Sending via mail() .

    1 answer 1

    Here you need to think a little ... Here, for example, a PHP script can be executed after refreshing the page for a longer time than the specified execution limit in the Apache. From this it follows that 100K emails will definitely not be able to be sent in one update. To do this, you need to create something like this script:

    1. Split the list of addresses into smaller lists and send each such list every time after updating the page.
    2. Sending-> update-> Sending-> update ... and so on
    • What is the likelihood of letters falling into spam? - Oleg
    • The spam filter works on the principle of blocking IP from which emails are sent. Since PHP is a server language, IP will be one. In order for your IP to be considered as spam, then it is better to send out emails once every 48 or even 72 hours. - AseN
    • The last sentence is probably not written correctly. - Oleg
    • Why so? Spam filters block mailing by IP. - AseN
    • one
      Only I alone think what to do with PHP is a perversion? .. - Zowie