Allow multiple emails in & improve CC & BCC headers
-
Hello,
I am a SendInBlue customer. We use this plugin along with the Elementor Pro plugin.
Elementor Pro allows users to create form sending emails: they can specify CC and BCC thanks to an input text where they can input email addresses separated by coma.
Elementor then callwp_mailfunction with both a CC and BCC header like this one:Cc: [email protected], [email protected]Unfortunately, the code in the mailin plugin is searching these 2 headers for only one email address, and in the CC case, it must be enclosed between < and > (the Bcc code is more tolerant).
It would be really cool, if it can handle more than one email address and allow multiple email adresses to be separated by coma.
There is a PHP function which can parse these addresses list:
https://www.php.net/manual/fr/function.imap-rfc822-parse-adrlist.phpI tried to find a workaround but, unfortunately, after
mailinfire thewp_mailfilter, there is no other way to alter the data sent to SendInBlue.
The topic ‘Allow multiple emails in & improve CC & BCC headers’ is closed to new replies.