0
我试图通过GMail SMTP发送一些电子邮件,CC和BCC行都没有收到电子邮件。我用Evolution(Linux电子邮件客户端)测试了GMail SMTP,它工作正常,但我无法获得通信的原始转储,因为它通过SSL。Zend_Mail的SMTP协议问题
下面是使用Zend_Mail通信日志:
220 mx.google.com ESMTP 22sm2669783yxe.39
EHLO localhost
250-mx.google.com at your service, [67.152.160.2]
250-SIZE 35651584
250-8BITMIME
250-AUTH LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250 PIPELINING
AUTH LOGIN
334 VXNlcm5hbWU6
[removed]
334 UGFzc3dvcmQ6
[removed]
235 2.7.0 Accepted
MAIL FROM:[removed]
250 2.1.0 OK 22sm2669783yxe.39
RCPT TO:<[email protected]>
250 2.1.5 OK 22sm2669783yxe.39
RCPT TO:<[email protected]>
250 2.1.5 OK 22sm2669783yxe.39
RCPT TO:<[email protected]>
250 2.1.5 OK 22sm2669783yxe.39
DATA
354 Go ahead 22sm2669783yxe.39
From: [removed]
To: [email protected]
Cc: [email protected]
Subject: My Test Subject
Date: Mon, 07 Dec 2009 14:21:49 -0600
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0
My test body
.
250 2.0.0 OK 1260217313 22sm2669783yxe.39
我不知道有足够的了解SMTP协议弄清楚的Zend_Mail没有做它需要做的CC/BCC线工作。
这看起来正确。如果zf-mail-test - * @ mailinator.com地址是主要收件人(即,不是CC'd或BCC),那么所有收到的邮件都会收到 - 也就是说,如果您一次发送邮件-a时间? – leepowers
是的。我在SO之外得到的一般意见是,所有mailinator.com地址基本上都是一个大邮箱的别名,而他们的SMTP服务器不会将重复的电子邮件发送到同一个邮箱。相同的行为适用于[email protected]。 +无论是邮箱的别名,因此只传送一个副本。 – Toxygene