Incorrect email headers
-
Incorrect email headers being set while using Bcc. For example, If i send a mail using below code snippet.
$mail = new \Nette\Mail\Message;
$mail->setFrom([email protected]’, ‘NARESH PATEL | programmer and web designer’)->setSubject($subject);
$mail->addReplyTo(‘[email protected]’, ‘NARESH PATEL | programmer and web designer’);
$mail->addBcc(‘[email protected]’);
$mail->addBcc(‘[email protected]’);
$mail->addBcc(‘[email protected]’);
$mail->addBcc(‘[email protected]’);Original mail appears like this and Reply-To has some unwanted recipients.
From: NARESH PATEL | programmer and web designer
<[email protected]>
Reply-To: NARESH PATEL | programmer and web designer
<[email protected]>
[email protected],[email protected]Also, email is not being delivered to all four recipients.
- The topic ‘Incorrect email headers’ is closed to new replies.