Support

Home Forums Event Espresso Premium CO email not updating

CO email not updating

Posted: January 10, 2024 at 2:59 am


Freya Jacobs

January 10, 2024 at 2:59 am

Morning,

I’m having issues updating the From: address on my registration approved emails. I changed the EE Primary email to our events inbox, but this hasn’t reflected in confirmations. I’ve also tried changing the From to Event Author in the templates but this also hasn’t changed it. They are currently going out from an email for our website developers (who also cannot fix the issue)


Tony

  • Support Staff

January 10, 2024 at 3:15 am

Hi there,

By default Event Espresso should use [CO_EMAIL] for the from address, which would parse to the value set in:

Event Espresso -> General Settings -> Your Organization -> Primary Contact Email

However, as the meals are all sent through wp_mail() its possible another plugin is hooking in and changing the from address right before sending.

Are you using any SMTP plugins on the site at all?

I’ve also tried changing the From to Event Author in the templates but this also hasn’t changed it.

So what is currently in use on the template?

Which specific message context did you change to test this?

https://eventespresso.com/wiki/messages-system-working-with-message-contexts/


Freya Jacobs

January 10, 2024 at 10:15 am

Hi Tony,

Ah it looks like we have Gmail SMTP enabled for a contact form so it is pulling through those details instead.

I made a custom template which was using CO_ EMAIL as the default, however I changed this to Event Admin to see if I could resolve, both were overridden by the Gmail SMTP plugin details.

If there a way to usurp the Gmail SMTP for this purpose?

Message context was for Registration Approved for a Registrant


Tony

  • Support Staff

January 10, 2024 at 10:28 am

So it sounds like your developer has set up Gmail SMTP to send the emails via their account, correct?

You’ll need to set up whichever SMTP plugin you want to use (if at all) to send emails via your domain.

Who hosts your email?


Freya Jacobs

January 10, 2024 at 10:57 am

Yes the OAuth Email Address is theiradress@webdevelopers and the From is website@ourbusiness. EE emails are sending from @webdevelopers

Our developers have said the only solution is to create one generic email and use it for everything we send but that’s not really an option. Wondering if I can make use of EE at all, seems odd to me that I can’t add another address from the same organisation for this purpose.


Tony

  • Support Staff

January 10, 2024 at 11:34 am

Yes the OAuth Email Address is theiradress@webdevelopers and the From is website@ourbusiness.

The OAuth email address? What is that and where?

EE emails are sending from @webdevelopers

Just EE emails? What about password resets from WP itself?

Our developers have said the only solution is to create one generic email and use it for everything we send but that’s not really an option.

Can you add more context to this please, you’re using different email addresses for different plugins?

Wondering if I can make use of EE at all, seems odd to me that I can’t add another address from the same organisation for this purpose.

EE allows you to set the from address to whatever you want, but if another plugin then comes in and changes that there isn’t much EE can do to stop it.

From the info so far, what it sounds like is happening here is EE is generating the email, setting the headers based on your EE settings and formatting the email as wp_mail() expects it. Then EE passes the email headers and content to wp_mail() to ‘send’ the email, however, all of the details within wp_mail are filtered which means any other plugins can hook in and make changes before the email is sent. A plugin like an SMTP plugin would do exactly that.

—-

Just to clarify, has @webdevelopers been set up as a relay for your @ourbusiness domain?

If not you are sending emails through example@webdevelopers.com (Gmail account) and then it’s basically saying ‘This email is from website@ourbusiness.com, its safe… I promise ;)’…. you’ll find the emails have a much higher chance of being flagged for spam that way.

That is if I’m understanding how you have all of this set up from the above.


Freya Jacobs

January 11, 2024 at 3:40 am

It does sound like the plugin is stepping in between EE and final sending.

The OAuth address is what I can see in the Gmail plugin, I don’t recall when I was set up but I imagine emails to website users like the password reset are managed via this email.

In an ideal world I would like the contact form to send from one address website@, and our event emails to send from events@ but this seemingly won’t be possible with the pre-existing SMTP?


Tony

  • Support Staff

January 12, 2024 at 5:35 am

In an ideal world I would like the contact form to send from one address website@, and our event emails to send from events@ but this seemingly won’t be possible with the pre-existing SMTP?

Sure you can but it sounds like you may need to use a different SMTP plugin, and likely stop sending them through your developers account.

Start with the setup, do you know why you are sending emails through your developer’s account?

Who hosts your domain’s emails now?

The support post ‘CO email not updating’ 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