I want that email reply should be received at multiple email address. But it is not working for me. I have tried different ways but none of these working for me. I am trying this header but it is only replying to the last email address.

$to = "recipientemail@address.com"; 
$subject = "my email subject";
$message = "my email message";
$headers = array();
$headers []= "MIME-Version: 1.0\r\n";
$headers []= "Content-Type: text/html; charset=UTF-8\r\n";
$headers []= "Reply-To:  <" . $EmailAddress1 . "> <" . $EmailAddressss2 . ">" . "\r\n" ;
wp_mail($to, $subject, $message, $headers); 

I have tried without braces as well but this one is also not working

$headers []= "Reply-To: 1st@address.com,2nd@address.com\r\n";

I do not have much idea about this so little guidance about this will be much appreciated. Thank you!


Unfortunately this is not possible, not because WordPress does not support it, but because email does not support it. There is no way to specify multiple Reply To: addresses in an Email. If you did, it would be stripped out by mail servers as invalid.

Instead, consider using a mailing list and use the mailing lists address as the reply to field

  • 1
    Thank you for your guidance. I will try mailing list now. – wplearner Feb 17 '18 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.