Posted: November 19, 2019 at 8:15 am
|
WordPress Version: 5.3 Email for the Club is handled by Microsoft Exchange as part of Office365. Until September Event authors were correctly notified when registrations were completed. All Event Authors have a club address in the form: secretary@, showjumping@, dressage@fndponyclub.org.uk! For compliance purposes we have discouraged the use of personal email addresses. But if the author uses their club email address, the notification fails. If they use their personal email that is not part of the tenancy, it succeeds! All was well until September of this year 2019 with proper notifications using club addresses working as they should! It was unfortunate that I was not informed sufficiently early that notifications were not being received or I could have attempted a restore! |
I wonder if there was a change to the email headers so now those emails are rejected? May I ask is your site set to just use the web server’s email software or is it set up to use a transactional email service like PostMark, SendGrind, or Mandrill? |
|
|
Whilst I think I understand your reply, no third party services are engaged to handle mail. cPanel is set up to use Remote Mail Exchanger. “The server will not accept mail for this domain. The system sends all mail for this domain to the lowest numbered mail exchanger.” Therfore as I understand, all mail is routed via the only MX record in the Records table as “fndponyclub-org-uk.mail.protection.outlook.com” We have not knowlingly made any changes to the site or routing. When I log into WP Dashboard and “Event Espresso – Editing Email Payment Received Template (Event Admin Recipient)” to test email recipients; if the mail recipient is handled via MS Exchange (as my personal mail is ****@****.com) albeit on a differnt tenancy, that email fails to be received! However, send to a Gmail, iCloud, Hotmail or it appears any account that is not an Exchange account; works! I have whitelisted our web hosting address within Exchange to no effect! |
The first step to troubleshoot this would be to find out if the recipient in question can receive a generic email from your site. You can install & activate this plugin on your site: It will add an email check page to the Tools menu. Then you use it to send an email to the email address in question, then check the inbox. |
|
|
Cheers Josh, installed Check Mail and that worked. It sent and mail was received to tenancy email addresses in the form of support@, webmaster@, ***@gmail.com, ****@randomdomain.com, ***@hotmail.com So personally I am even more confused. Was there during September and update to EE4 that was auto installed that may have changed the way email to tenancy emails were handled, or has something broken? Thanks for the help btw! |
There haven’t been updates to EE’s email functions in quite a while, I checked it’s been two years. This is a shot in the dark, but if the emails are rejected because no MIME-type is set you could try fixing by adding this to a custom code snippets plugin:
You can add the above to a functions plugin by following this guide. If the above makes no difference, another approach that could help would be to install this plugin: https://wordpress.org/plugins/wp-mail-smtp/ then configure the plugin’s integration that allows you to use your existing Office 365 account to send your emails. I would think sending the emails from an office 365 account would help prevent those emails from being rejected. |
|
|
Cheers Josh I decided on the chicken route and bought the premium version of the plugin. Three hours and three attempts later I got Azure to bite and the plugin was authorized. Yeah it works, though strangely, the Event admin email (showjumping@fndponyclub.org.uk) notification takes ages to come through whilst the test registrant (me using support@fndponyclub.org.uk) came through almost immediately! If you have any thoughts on the delay (althought not catastrophic), it would be appreciated! But thanks again! |
Event Espresso uses a queue system which works on WP_Cron, meaning it needs visitors to the site to work. So you message is ‘triggered’ and set in the queue to ‘generate’ on the next WP_Cron instance (the default time is 5 mins but it needs a hit on a page on the site to trigger so it can take longer than that). After generation it again sits in the queue for ‘sending’, again that takes another hit on a page to trigger WP_Cron after the schedule time (5 mins again). So if your site is currently not getting much traffic that may explain the delay. If you add a registration and go to Event Espresso -> Messages you’ll see the message activity table and a message with ‘No receipient’ will show (that’s queued for generation so it doesn’t know the recipient yet) Either click the check box and select ‘Generate and send now’ in the bulk actions, then hit apply. Or.. Click the Spanner icon in the Actions column, then hit the double arrow icon to send. Does the email come through quicker then? (Test emails skip the queue system as they are intended as a test of the email, not the queue system) |
|
The support post ‘Notifications not received when the recipient is on MS Exchange’ 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.