Office 365 unable to deliver Woocommerce Emails
-
All Woocommerce emails are unable to be delivered. This error occurs:
Client error:
POST https://graph.microsoft.com/v1.0/me/sendMailresulted in a
400 Bad Requestresponse: {"error":{"code":"ErrorParticipantDoesntHaveAnEmailAddress","message":"A participant without an email address is not all (truncated...)
The From email used is not a shared mailbox, and just to be sure, I’ve also tried with another email address (the one I used to authenticate, and the same error still occurs). I’ve also enabled the setting in POST STMP to Prevent plugins and themes from changing the from address, and made sure the email address in Woo is also the same.
This only occurs in Woocommerce, as my other emails, eg. from Ninja Forms, is able to be sent out without any issue (same from address and same receiver).
I’ve tried implementing a fallback using a Gsuite account, and the email is able to be sent out successfully using the fallback account. I understand that O365 is doesn’t like it when the reply-to address in not in the organization, but it is strange that order confirmation emails to buyers are also not working (same from and reply-to address).
Here is the diagnostic log:
Mailer: postsmtp HostName: domain.org cURL Version: 7.62.0 OpenSSL Version: OpenSSL/1.0.2k OS: Linux sg-nme-web.main-hosting.eu 3.10.0-962.3.2.lve1.5.26.3.el7.x86_64 #1 SMP Wed Aug 14 08:29:59 EDT 2019 x86_64 PHP: Linux 7.4.8 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes WordPress: 5.6.1 zh_CN UTF-8 WordPress Theme: Hello Elementor WordPress Plugins: 3D FlipBook : Dflip Lite, Advanced Custom Fields, Checkout Field Editor and Manager for WooCommerce, Code Snippets, Custom Post Type UI, DynamicConditions, WooCommerce eGHL Payment Gateways, Knowledge Base for Documents and FAQs, Elementor Pro, Elementor, Event Tickets Plus, Event Tickets, Form Vibes - Database Manager for Forms, Site Kit by Google, Guest Author, Happy Elementor Addons, Insert PHP Code Snippet, Jetpack by WordPress.com, Leaflet Map, LiteSpeed Cache, Loco Translate, Maximum Products per User for WooCommerce, Members, mPDF addon for PDF Invoices, Newsletter - Addons Manager, Newsletter - Import (advanced), Newsletter - Instasend (BETA), Newsletter - Office 365 Headers Removal, Newsletter - WP Users Integration, Newsletter, Ninja Forms - Addon Manager, Ninja Forms - Conditional Logic, Ninja Forms - Multi-Part Forms, Ninja Forms - Post Creation, Ninja Forms - Save Progress, Ninja Forms - Layout & Styles, Ninja Forms - File Uploads, Ninja Forms - User Management, Ninja Forms - Webhooks, Ninja Forms, Paid Memberships Pro, Paid Memberships Pro - Add Member From Admin, Paid Memberships Pro - Email Templates Add On (.org), Paid Memberships Pro - Pay by Check Add On, Paid Memberships Pro - Register Helper Add On, Paid Memberships Pro - Set Expiration Dates Add On, Paid Memberships Pro - WooCommerce Add On, Office 365 for Post SMTP Extension, Post SMTP, WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels, Redirect URL to Post, Related Posts By Taxonomy, Rank Math SEO, Pinyin Slugs, The Events Calendar Category Colors, The Events Calendar, TranslatePress - Multilingual, Events Tickets Extension: Virtual / Online Event Tickets, Events Tickets Extension: Ticket Email Settings, TranslatePress - Only translate certain paths, Unsplash, WooCommerce, Asset CleanUp: Page Speed Booster, WP User Avatar, WPO365 | LOGIN WordPress wp_mail Owner: /home/domains/domain.org/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php WordPress wp_mail Filter(s): TRP_Translation_Render->wp_mail_filter, wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args WordPress wp_mail_from Filter(s): pmpro_wp_mail_from WordPress wp_mail_from_name Filter(s): pmpro_wp_mail_from_name WordPress wp_mail_content_type Filter(s): pmpro_wp_mail_content_type WordPress phpmailer_init Action(s): \Wpo\Mail\Client::init Postman: 2.0.20 Postman Sender Domain (Envelope|Message): domain.org | domain.org Postman Prevent Message Sender Override (Email|Name): Yes | Yes Postman Active Transport: Office365 API (https://amazonses.com:443) Postman Active Transport Status (Ready|Connected): Yes | Yes Postman Deliveries (Success|Fail): 3384 | 147 Postman Stealth Mode: Yes
- The topic ‘Office 365 unable to deliver Woocommerce Emails’ is closed to new replies.