Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

ODOO 15 : Microsoft365 - send on behalf of

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
outgoingmailserverMicrosoft365
4 Odpowiedzi
8379 Widoki
Awatar
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
Awatar
Odrzuć
Awatar
Nils Coenen
Najlepsza odpowiedź

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
Awatar
Odrzuć
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

Awatar
Tobias Foit
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Boujraf
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Mahmoud El Bouyahyaoui
Najlepsza odpowiedź

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
Awatar
Odrzuć
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,

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Configure outgoing mail server as Constant Contact
outgoingmailserver
Awatar
Awatar
Awatar
2
maj 24
2964
Cannot setup Outgoing Mail Server with Microsoft Business Mail Server
outgoingmailserver
Awatar
Awatar
1
kwi 22
7854
Outlook sync is sending old meeting requests in bulk
Agenda Microsoft365
Awatar
Awatar
Awatar
Awatar
Awatar
5
cze 25
4674
Error Sending Email: Client Not Authenticated
email Microsoft365
Awatar
Awatar
2
gru 24
2862
Why Email is going with partner name except with the name set on Outgoing mail server?
outgoingmailserver odoo17
Awatar
Awatar
1
wrz 24
2026
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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