简体   繁体   中英

PHPMailer: is it possible to set a different message-id for bcc?

As in subject. Is it at all to send and email with PHPMailer and assign different message-id for the mail sent to 'to' and do 'bcc'?

(Yes, I know is not exactly compliant with RFC nor is intuitive to do such a thing.)

No, because when you send a message using BCC, only 1 message is sent . If you want different messages sent to different recipients, send separate messages.

You can see this quite easily: if you add multiple to, CC and BCC addresses to a message and send it (with SMTPDebug output enabled), you will see all the recipients sent to the server using RCPT TO commands in SMTP, but that will be followed by just one message.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM