Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

ODOO 15 : Microsoft365 - send on behalf of

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
outgoingmailserverMicrosoft365
4 Réponses
8437 Vues
Avatar
Boujraf

Dear,

I have configured ongoing mail server with success.

and incoming mail server with success.



- system parameters


When I try to send a message to a contact and :

- I am logged as the user "accounting" who registered the email address in outgoing / incoming mail server, In this case From : accounting@xxx\.be,\ the\ message\ is\ sent\ successfully\. 

\-\ I\ am\ logged\ as\ the\ user\ ,\ in\ this\ case\ From\ : myself@xxx\.be\ I\ got\ an\ error\ message\. 

SMTPDataError:\ 554\ 5\.2\.252\ SendAsDenied;\ accounting@xxx\.be not\ allowed\ to\ send\ as\ myself@xxx.be STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;


Any advices to close my issue.


Best Regards

1
Avatar
Ignorer
Avatar
Nils Coenen
Meilleure réponse

There is a good description provided by Ventortech how to setup 365 mail in odoo in order to make it work. Just look for the blog "Office 365 and Odoo.sh and Odoo Online. How to configure emails". This can help a lot.

However... I already have had the situation, where an additional security level was involved. Due to this we had to setup the 365 mail account and had to make sure, that all emails going out are handled only by this emailadress without the need of "sending on behalf". I could have a look to the history if necessary. 

In General... From my point of view integreating 365 Mail in Odoo can be a pain... but it works.

0
Avatar
Ignorer
Boujraf Youssef

Thanks Dear
Yes I followed the steps from Ventortech and got an update of the technical doc they made.
But with Microsoft all the emails from the same domain managed by Microsoft365, if you are not assigning ‘send on behalf’ each member of the same domain, no way to send.
Now with the extra module in oca, I am able to send to any contact any email and get back through incoming email.

Now my issue is working with multi-company, how to have one domain per company and able to create Alias

Best regards

Avatar
Tobias Foit
Meilleure réponse

Hi Boujraf Youssef!

Have you solved this issue by now? Did you try the steps suggested by Mahmoud, regarding the permissions in Office 365 / Outlook?

0
Avatar
Ignorer
Avatar
Boujraf
Auteur Meilleure réponse

Dear,

Thanks for your quick answer.

My concern is :

- I have only registered ONE mail server (outgoing/incoming mail server) for the ODOO server.
I am expecting all the email exchange will be performed by this account. The email address used for is : accounting@xxx\.be\.

For\ example\ :

\-\ if\ Digest\ is\ sent\ to\ all\ users,\ it\ is\ done\ with\ accounting@xxx\.be\ account\.

\-\ If\ any\ user\ wants\ to\ send\ any\ message\ to\ different\ user\ registered\ in\ Odoo\ or\ external,\ I\ am\ expecting\ Odoo\ uses\ the\ mail\ server\ registered\ with\ accounting@xxx\.be

In\ my\ setup,\ I\ will\ not\ register\ each\ odoo\ user\ with\ their\ own\ email\ address\ account\.\ Most\ of\ the\ email\ address\ are\ "alias"\ or\ external\.

I\ don't\ believe\ Odoo\ is\ unable\ to\ process\ email\.

Then\ I\ am\ user\ "myself@xxx\.be"\ wants\ to\ send\ a\ message\ to\ "mycustomer@gmail.com" through Odoo. How to setup Odoo to have no issue with on behalf of ?

Best Regards,

Youssef


0
Avatar
Ignorer
Avatar
Mahmoud El Bouyahyaoui
Meilleure réponse

The error message "SMTPDataError: 554 5.2.252 SendAsDenied; accounting@xxx.be not allowed to send as myself@xxx.be STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied" is indicating that the user "myself@xxx.be" is not authorized to send email on behalf of the email address "accounting@xxx.be".

This is likely because the user "myself@xxx.be" does not have the necessary permissions to send email on behalf of the "accounting@xxx.be" email address.

Here are a few things you can try to resolve this issue:

  1. Verify that "myself@xxx.be" has the correct permissions to send email on behalf of "accounting@xxx.be" in the email server (Exchange server or Office 365) that you are using.

  2. Check the permissions of the user "myself@xxx.be" in the Office 365 or Exchange server. The user should be assigned with 'Send on Behalf' permissions to the email address accounting@xxx.be.

  3. Check the settings of the Office 365 or Exchange server, and make sure that the feature "Send on Behalf" is enabled and configured correctly.

  4. Confirm that the email address "accounting@xxx.be" is properly added and verified in the Office 365 or Exchange server, and it should be the default email address for the user "accounting".

  5. Try to use the SMTP settings of the email address "accounting@xxx.be" instead of the SMTP settings of "myself@xxx.be" in the outgoing mail server configuration in Odoo.

It's also possible that the issue is related to specific configurations of your Office 365 or Exchange server, and that you may need to consult with your IT department or an Office 365/Exchange administrator to resolve it.

0
Avatar
Ignorer
Boujraf
Auteur

Dear,

Thanks for your quick answer.

My concern is :

- I have only registered ONE mail server (outgoing/incoming mail server) for the ODOO server.
I am expecting all the email exchange will be performed by this account. The email address used for is : accounting@xxx\.be\.

For\ example\ :

\-\ if\ Digest\ is\ sent\ to\ all\ users,\ it\ is\ done\ with\ accounting@xxx\.be\ account\.

\-\ If\ any\ user\ wants\ to\ send\ any\ message\ to\ different\ user\ registered\ in\ Odoo\ or\ external,\ I\ am\ expecting\ Odoo\ uses\ the\ mail\ server\ registered\ with\ accounting@xxx\.be

In\ my\ setup,\ I\ will\ not\ register\ each\ odoo\ user\ with\ their\ own\ email\ address\ account\.\ Most\ of\ the\ email\ address\ are\ "alias"\ or\ external\.

I\ don't\ believe\ Odoo\ is\ unable\ to\ process\ email\.

Then\ I\ am\ user\ "myself@xxx\.be"\ wants\ to\ send\ a\ message\ to\ "mycustomer@gmail.com" through Odoo. How to setup Odoo to have no issue with on behalf of ?

Best Regards,

Youssef

Boujraf Youssef

I am still with this issue.
As soon I am not using the user with the email account registered as outgoing email server, same error message.

Is there any system parameters to add and or install an extra module from OCA?

Best Regards,

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Configure outgoing mail server as Constant Contact
outgoingmailserver
Avatar
Avatar
Avatar
2
mai 24
3010
Cannot setup Outgoing Mail Server with Microsoft Business Mail Server
outgoingmailserver
Avatar
Avatar
1
avr. 22
7890
Outlook sync is sending old meeting requests in bulk
Agenda Microsoft365
Avatar
Avatar
Avatar
Avatar
Avatar
5
juin 25
4715
Error Sending Email: Client Not Authenticated
email Microsoft365
Avatar
Avatar
2
déc. 24
2907
Why Email is going with partner name except with the name set on Outgoing mail server?
outgoingmailserver odoo17
Avatar
Avatar
1
sept. 24
2071
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now