Support

Home Forums Event Espresso Premium Event Author Email – Change Issue

Event Author Email – Change Issue

Posted: April 4, 2018 at 4:09 am


rossboom22

April 4, 2018 at 4:09 am

Hello,
We have a small issue that I don’t seem to be able to find an answer for. If you change the email address for an author, the event registration notification emails are still going to the old email.

So for example:

Author creates an event and their email address is author@domain.com, but then later on they need to change that authors email address in the WordPress User accounts to “newauthor@domain.com”. However the notifications are still sent to “author@domain.com” for events created previous to the email address changed on the authors account.

Is there any reason why this would be happening? Instead of Event Espresso just using whatever the latest email address is attached to that User/Author account?

Appreciate any assistance.

Cheers
Dave


Tony

  • Support Staff

April 4, 2018 at 4:27 am

Hi Dave,

It could be messages that have already been generated working through the message queue, how long ago was the change made?

Go to Event Espresso -> Messages -> Message Actitity

Do you see multiple messages waiting to send?

Next go to Event Espresso -> Messages -> Default message templates (assuming you are using the default templates and not custom templates for each event?) -> Registration Approved -> Event Admin.

What is set in the ‘To’ field for that template?


rossboom22

April 4, 2018 at 6:41 am

Tony,
Thanks for coming back to me. The emails being sent are test registrations I have done after the email address was changed on the user account. The messaging template has [EVENT_AUTHOR_EMAIL]. Although i have had to change this to be the primary email that the client wants to receive notifications on, because if i leave it with [EVENT_AUTHOR_EMAIL], it uses the old email address for the user account.

Cheers
Dave


Tony

  • Support Staff

April 4, 2018 at 6:52 am

Hmm, ok.

Are you 100% sure you are changing the correct user account details?

The code used for EVENT_AUTHOR_EMAIL just uses the Author ID on the event to pull the WP_User account and then uses the email from that object, see – http://take.ms/tcKJv

That code should always pull the current email address for the account.


rossboom22

April 4, 2018 at 6:58 am

Tony,
100%, which is why i thought it was odd. Didn’t think you would be storing the authors email address with the event when it was created. But that’s the behavior.. very strange. Also only been 1 account we have been tested with, so not like there is 100’s of accounts that we could of mistakenly updated the wrong one or something.

Cheers
Dave


Tony

  • Support Staff

April 4, 2018 at 7:09 am

Yeah thats very strange, mind if I take a look?

If so you can send temp login details using this form:

https://eventespresso.com/send-login-details/


rossboom22

April 4, 2018 at 9:33 am

Tony,
I might have found the issue, i am just testing now and will update once confirmed!

Thanks again!
Dave

The support post ‘Event Author Email – Change Issue’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  rossboom22 5 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!