I'm trying to send some emails via GMail SMTP and the CC and BCC lines are not receiving the email. I've tested GMail SMTP with Evolution (Linux email client), which works fine, though I could not get a raw dump of the communication because it's via SSL.
Here's the 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-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
I don't know enough about the SMTP protocol to figure out what Zend_Mail isn't doing that it needs to be doing for CC/BCC lines to work.