Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Multiple recipients seperate by multiple newline characters

$
0
0

Replies: 0

Hi,

another issue I experienced is that mails that I attempt to resend that were intended for multiple recipients seem to fail. Reason being is that they have multiple newline characters as an delimiter between recipients instead of just a plain comma.

In WPML_Email_Resender.php I added the following which worked.
$to = $mail->get_receiver();
$to = str_replace([“\\n”, ‘ ‘], [”, ”], $to);

Regards,
Sebastian


Viewing all articles
Browse latest Browse all 59525

Trending Articles