Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
CodeIgniter WebサイトアプリケーションでSMTP経由で一度に1000以上の電子メールを送信しようとしていますが、ループしてすべての受信者(同じコンテンツ)に送信しますが、PHPスクリプトがタイムアウトします。
スクリプトの先頭に次を追加します。
set_time_limit(0);
タイムアウトの問題が発生している場合は、ある種のメールキュー機能を使用するか、独自のロジックを追加して、cronジョブを使用して特定の時間に特定の量の電子メールを送信します。メールキューを見てください。
http://pear.php.net/package/Mail_Queue/redirected