自動送信メールの差出人の記載に日本語を追加したところ
メールがサーバー側で止まってしまうようになりました。
自動送信メールは無事届く状態です
変更前
php
1$add_header ="From:mail@address\n"; 2$add_header .= "Reply-to:mail@address\n";
変更後
php
1$from_name = 'テスト'; 2$from_encoded = mb_convert_encoding($from_name, 'UTF-8', 'AUTO'); 3$header="From: " .mb_encode_mimeheader($from_encoded) ."<mail@address.com>"; 4$add_header .= "Reply-to:mail@address\n";
サーバー側で止まってしまう際の
メールのエラー内容
「This is the mail system at host mail●●●.phy.●●●.jp.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system」
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。