Support

Home Forums Event Espresso Premium Registrant notification emails not showing correct [CO_EMAIL]

Registrant notification emails not showing correct [CO_EMAIL]

Posted: June 24, 2020 at 8:17 am


WWBIC

June 24, 2020 at 8:17 am

When registrants receive notification emails, the messages they receive do not show the correct [CO_EMAIL] email address as the “From” address (although we set up the template to do so). The [CO_EMAIL] address does appear properly as the “Reply-To” address. Any idea why it’s not appearing as the “From” address?


Tony

  • Support Staff

June 24, 2020 at 8:26 am

Hi there,

When EE ‘sends’ an email it passes it over to wp_mail() to do it’s thing. wp_mail() is filtered meaning other plugins can hook in and change the values used and that’s most likely what is happening here.

EE sets both the ‘From’ and ‘Reply-To’ headers to exactly the same value, like this:

$from    = $this->_from;
$headers = array(
    'From:' . $from,
    'Reply-To:' . $from,
    'Content-Type:text/html; charset=utf-8',
);

But something else can be hooking into wp_mail after EE has set it’s values and changing them.

Are you using an SMTP plugin or transactional email service with the site?


WWBIC

June 24, 2020 at 10:02 am

Thanks, Tony. We’re using the Mailjet plugin.


Tony

  • Support Staff

June 25, 2020 at 4:47 am

Ok, so check your sending setting with Mailjet:

https://www.mailjet.com/guides/wordpress-user-guide/plugin-settings/

Somewhere within your email setting something is set to use a different from address.

The support post ‘Registrant notification emails not showing correct [CO_EMAIL]’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso