Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Odoo SH | Using Office 365 relay for outgoing mail

Naroči se

Get notified when there's activity on this post

This question has been flagged
mailingoffice365
4 Odgovori
7445 Prikazi
Avatar
Stan

Hello everyone!


I have a problem which ive been working on for days.

I am really hoping that someone could help me out.


I use Odoo SH and it is important that I can send e-mails with Office 365 in Odoo 15, but setting it up does not go smoothly.


I have currently created a relay in Exchange Online that contains the ip address of Odoo.
According to the following page, I need to use Microsoft's guide to properly use the relay:

https://www.odoo.com/documentation/saas-15.2/nl/applications/general/email_communication/email_servers.html


which redirects to Microsoft's link to create and use the relay:

https://docs.microsoft.com/nl-nl/Exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using- microsoft-365-or-office-365?redirectSourcePath=%252fen-us%252farticle%252fHow-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99 -c550-4274-ad18-c805d654b4c4


The problem is that microsoft instructs to use the following information in my client (in this case Odoo.)


Server/smart host:
yourdomain-com.mail.protection.outlook.com


Port: Port 25
TLS/StartTLS: Enabled

But again in the link from Odoo it is stated that port 25 is blocked which is actually the case.


At this point, Odoo's page is contradicting itself.
It is very important to me that I can use the relay in this way and do not have to provide user credentials.
How can I solve this?

0
Avatar
Opusti
Avatar
Edward Yoch | VentorTech
Best Answer

Hi Guys,

We have prepared a guide on how to integrate the Odoo SH with Office 365 mail server ( https://ventor.tech/odoo/how-to-configure-emails ). It has been verified on some customers already, and all screenshots are made for Odoo 14 and 15 and latest version of Office 365.

Main point out configuration is sending of emails is done by the same mailbox like for receiving. Since it is mailbox but not SMTP relay, then we cannot specify anyone other than the owner of the mailbox as the sender (in current case info@your-domain.com), so we made a configuration where the sender is always the same. As a result all email recipients will see “Odoo User or Notification or etc.”<info@your-domain.com> instead “Odoo User or Notification or etc.”.
If it's compromise is right for you so you can see more details by link above. If it's really important to you that the sender looks indistinguishable from an ordinary person and has own email, then because of the aforementioned circumstances to do this you need change place of Odoo deploying or use other mail provider instead Office 365 Exchange.

5
Avatar
Opusti
Avatar
Stan
Avtor Best Answer

Hi Chris,

Thank you for your response.

Can i conclude that it is almost impossible to use Gsuite/Google or Office mail servers without any problems?

Because it seems like that when using Google, mails go to spam in Yahoo and Outlook.

0
Avatar
Opusti
Avatar
Chris Mann
Best Answer

Unfortunately this is a hard restriction and you are correct that port 25 is deliberately blocked in Odoo.SH (as it is in some cloud providers also).
It's a shame Microsoft do not offer an SMTP relay on any port other than 25.
I would recommend moving to MailGun or SMTP2Go, both offer SMTP relay on a variety of ports and I have successfully used it on many Odoo installations.

0
Avatar
Opusti
Avatar
Best Answer

Hi Stan, regardless of the mail server choice, you'll still need to configure DNS entries to avoid going to SPAM.

This document may help you on how to do it: https://www.odoo.com/documentation/15.0/applications/general/email_communication/email_servers.html

All mail servers have entries in the DNS which receiving mail servers will look to see if the message comes from one of the authorized sender servers (mx entries), besides that, there are other entries that must exist in order to avoid most spam services.

Regards,

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Bug odoo v18 sending abandoned cart x2
mailing
Avatar
0
jul. 25
1704
Invalid link on Task invitation
mailing
Avatar
0
maj 22
2814
How-To Add Salesperson field from Contact to Mailings to be used as Dynamic Placeholder
mailing
Avatar
0
maj 21
2253
Unable to send email after clicked retry on Mass Mailings
mailing
Avatar
Avatar
Avatar
2
jul. 16
5822
Massing explanation
mailing
Avatar
0
mar. 15
3812
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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