【发布时间】:2013-07-23 10:12:01
【问题描述】:
我有每秒不能发送超过 5 封电子邮件的限制。
我正在使用 PHPMailer 5.2.6
https://github.com/PHPMailer/PHPMailer/
有什么办法可以在 5 封电子邮件后延迟 1 秒
我在 PHP 脚本中使用 sendmail 并使用 cron 作业发送电子邮件
【问题讨论】:
-
你真的需要特定于 PHPMailer 的东西吗?不能只用PHP的
sleep函数吗?
标签: php linux cron centos phpmailer