php - SMTP protocol issue with Zend_Mail -
I am trying to send some emails through Gmail SMTP and CC and BCC are not able to email the email. I have tested Gmail SMTP with Evolution (Linux Email Client), which works fine, although I could not find a raw dump of communication because it is via SSL.
There is a communication log from 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-8 bitmate 250-at-log plane 250- ENHANCEDSTATUSCODES 250 piping at login 334 VXNlcm5hbWU6 [deleted] 334 UGFXC3 DVCMU 6 [deleted] 235 2.7.0 with approved mail: [deleted] 250 2.1.0 OK 22sm2669783yxe.39 RCPT TO: & lt; Zf-mail-test-1@mailinator.com> 250 2.1.5 OK 22sm2669783yxe.39 RCPT TO: & lt; Zf -mail-test-2@mailinator.com> 250 2.1.5 OK 22sm2669783yxe.39 RCPT TO: & lt; Zf-mail-test-3@mailinator.com> 250 2.1.5 OK 22sm2669783yxe.39 Data 354 Proceed 22sm2669783yxe.39 From: [Removed] From: zf -mail-test-1@mailinator.com CC: zf -mail-test-2@mailinator.com Topic: My Test Subject Date: Mon, 07 Dec 2009 14:21:49 -0600 Material-Type: Text / Plain; Charset = ISO-885 9 -1 Material-Transfer-Encoding: Quoted-Printable Content-Rendering: Inline MIME-Version: 1.0 My Test Body 250 2.0.0 OK 1260217313 22sm2669783yxe.39
I do not know enough information about the SMTP protocol that Zend_Mail is not doing what it needs to do for CC / BCC lines to work.
please see:
Specifically:
With SMTP, when sending all recipients, it should be listed as absolute 1, and the effect of the contents of CC / BCC Headers is not affected - they are only the information of the receiver.
I had to send emails to each BCC recipient personally, in a project some time ago.
Comments
Post a Comment