Hello Odoo Community,
I'm encountering an issue with our Odoo 18 Community setup, and I hope to get some insights or solutions from those who might have faced something similar.
Setup Details:
Odoo Version: 18 Community
Server: Windows Server 2022
Email Service: Microsoft 365
Domain: https://OurDomain.org
Main Error: odoo.addons.mail.models.mail_mail: Ignoring invalid recipients for mail.mail
Issue: Emails are successfully sent to major providers like Outlook.com and Gmail.com, but fail when sent to certain third-party domains such as OurDomain.org and others. The logs show the following error:
Ignoring invalid recipients for mail.mail <...>: ['JohnDoe@OurDomain.org']
Relevant Log Entries:
Signup email sent but flagged as invalid:
2024-12-12 14:58:51,728 2584 INFO ourdatabase odoo.addons.auth_signup.models.res_users: Signup email sent for user <JohnDoe@OurDomain.org> to <JohnDoe@OurDomain.org>
Successful email sent:
2024-12-12 14:58:58,258 2584 INFO ourdatabase odoo.addons.mail.models.mail_mail: Mail with ID 51 and Message-Id '<...>' successfully sent
odoo.addons.auth_signup.models.res_users: Signup email sent for user <JohnDoe@gmail.com> to <JohnDoe@gmail.com>
What We Have Done:
Verified that the outgoing email server is correctly configured with all Azure prerequisites.
Confirmed that the web base URL is set to our external domain.
Ensured there are no typos or formatting issues with the email addresses.
Question: We need to know what the issue is here. Our configuration is clearly working, since we can send emails to Outlook.com, Gmail.com, etc. But cannot send emails to other domains. Is there a system parameter or a workaround to bypass this "Ignoring invalid recipients" error in Odoo? I've provided details for support, which outlines the issue in detail. Any guidance or suggestions would be greatly appreciated.