0

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.)

Olalike
  • 3
  • 2
  • Just curious: why do you want to do this? – Robert May 27 '20 at 14:54
  • a client wanted it and I had to gather arsenal to explain why we won't do it :) I didn't share a stack link obviously, I just wanted to make absolutely sure that PHPMailer doesn't support such a thing. – Olalike Jun 04 '20 at 08:43

1 Answers1

1

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.

Robert
  • 7,394
  • 40
  • 45
  • 64
Synchro
  • 35,538
  • 15
  • 81
  • 104