PHP: Sending huge quantity of emails in batch

后端 未结 4 531
感情败类
感情败类 2021-01-02 21:53

Putting aside the disdain from junk marketing I need to send around 15,000 emails to customers. My coworker has tried to send them through php mail loop but obviously it get

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-02 22:32

    Are you running it through CGI or as a script on the command line? It's best to run it as a script on the command line.

    If you say that it gets stuck, try running set_time_limit(0); to avoid PHP quitting from the execution being too long.

提交回复
热议问题