Reputation: 61
I am using php mailer script for sending emails in my project. When i send mail with bcc using the below code
$mail->AddBCC([email protected])
The email received by [email protected] user but information content showed in the header of the email received doesn’t show BCC information as below.
Bcc: [email protected]
How can I achieve it. Thanks in advance.
Upvotes: 5
Views: 7693
Reputation: 1077
If you use mailhog, click on the Show headers
an you will see the cc
and bcc
Upvotes: 0
Reputation: 33531
BCC information is automatically moved from BCC to RCPT field by the SMTP server. You will not see BCC fields in the recipient's mailbox.
You will find a good answer to a similar question here: https://stackoverflow.com/a/2750359/239599
Upvotes: 7