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.
毎朝phpスクリプトを実行したいのですが、スクリプトはメールを送信します。
しかし、cronから受け取る電子メールには、常にエラーメッセージが含まれています。
誰か助けてもらえますか?
はい。ここの誰かができると確信しています。
スクリプト、crontab 行、およびエラーを投稿します。PHP 経由でメールを送信する代わりに、スクリプトの出力を sendmail にパイプすることをお勧めします。