Posted: March 15, 2022 at 11:50 am
Hi, We recently changed our server for emails from Media Temple to Microsoft 365. We are noticing the registration and notification emails that are auto-generated by EE4 are still being routed to the server on Media Temple. We would like to have them routed to the new server with Microsoft 365. How is this done? Thank you, |
|
Hi Brandon, Event Espresso doesn’t specify the mail server, it just uses whatever your with is setup to use, in short, it generates the email content and then passes them to wp_mail() for it to do whatever you server is set up to do. So, may I ask, are ‘regular’ emails generated by the site going through the correct server? For example a password reset email. |
|
Hi Tony, Yes, all “regular” emails are being correctly routed to the new server at Microsoft 365. The only exceptions are emails being generated by EE4 and our contact forms on the current website. Wondering if we should delete the email account with Media Temple. Therefore, in theory, those emails would have no choice but to be routed to the new server with Microsoft 365. Thoughts? Brandon |
|
Hmm, yeah that’s really strange. How did you set the mail server on the site? |
|
Hi Tony, |
|
Yeah, but how is the site set up to use the MS365 servers? EE sets the From and To headers using the shortcodes provided in the message template, are they using a different email address from the others? I can’t think of any reason why only EE (and the contact form) Emails are set to use a different server if the site has been set to send them via MS365. |
|
Hi Tony, Here is the reply from IT support…. That is odd because usually when it was first set up they will need the SMTP address along with the email and password, all they need to do is edit the SMTP address from media temple to office365 which is: smtp.office365.com. That’s how it is usually done with previous clients I worked with. Brandon |
|
Sure, but again, the above has nothing to do with Event Espresso. We don’t specify any SMTP address, at all, ever. The only details we generate for emails are basically the TO/FROM headers and the content, then we pass that over to wp_mail() to do whatever your server is setup to to do with emails. It’s at that point (which is completely outside of Event Espresso) in which the SMTP server would be set. That’s why I’m asking how/have the IT specialists set up your WordPress site to send the emails via office 365? For example, if you have control over the server itself it may have been set up via PHP mailer or using a plugin such as WP Mail SMTP (which hooks into wp_mail to specify the server to use). |
|
Hmmm, okay. I don’t think anything was changed on our WordPress site regarding the Microsoft 365 account. I’ll check with IT support and see if they can access our website and then make the updates. |
|
The support post ‘Notification emails are routing to old server’ 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.