しばらくの間、コードの一部にこれを書き留めました。
/**
* Add a BCC.
*
* Note that according to the conventions of the SMTP protocol all
* addresses, including BCC addresses, are included in every email as it
* is sent over the Internet. The BCC addresses are stripped off blind
* copy email only at the destination email server.
*
* @param string $email
* @param string $name
* @return object Email
*/
どこから入手したか覚えていませんが (ソースの可能性あり)、この質問には関係ありません。基本的に、SMTP 経由で BCC を含む電子メールを送信しようとすると、BCC アドレスは非表示になりません。SMTP プロトコルの RFC 全体を (数年前に) 読んだことがありますが、何かが欠けているとは思いません。
奇妙なことに、組み込みmail()
関数を使用して BCC 付きのメールを送信すると、すべてが正常に機能し、その理由がわかりません。自分のメール送信者をロールバックしたいのですが、これを理解できません。
誰かがこの暗い主題に光を当ててくれませんか?