Best way to send 10,000+ emails with PEAR/Mail_Queue

前端 未结 3 2061
故里飘歌
故里飘歌 2021-01-01 09:46

I have a cron which generates the whole mail info and puts in a database table using $mail_queue->put(.....) with an option to delete emails after they\'re s

3条回答
  •  隐瞒了意图╮
    2021-01-01 10:13

    use two scripts. one for populating your mail_queue table with the emails you need to send and the second script to send those emails in chunks of 90 mails at a go. set the second script to be activated about every 2 minutes or so.

    you could also just upgrade your hosting plan ;-)

提交回复
热议问题