Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

ODOO 15 : Microsoft365 - send on behalf of

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
outgoingmailserverMicrosoft365
4 Răspunsuri
8419 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Nils Coenen
Cel mai bun răspuns

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
Imagine profil
Abandonează
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

Imagine profil
Tobias Foit
Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Boujraf
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Mahmoud El Bouyahyaoui
Cel mai bun răspuns

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
Imagine profil
Abandonează
Boujraf
Autor

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,

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Configure outgoing mail server as Constant Contact
outgoingmailserver
Imagine profil
Imagine profil
Imagine profil
2
mai 24
2986
Cannot setup Outgoing Mail Server with Microsoft Business Mail Server
outgoingmailserver
Imagine profil
Imagine profil
1
apr. 22
7874
Outlook sync is sending old meeting requests in bulk
Agenda Microsoft365
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
iun. 25
4698
Error Sending Email: Client Not Authenticated
email Microsoft365
Imagine profil
Imagine profil
2
dec. 24
2888
Why Email is going with partner name except with the name set on Outgoing mail server?
outgoingmailserver odoo17
Imagine profil
Imagine profil
1
sept. 24
2048
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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