Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo SH | Using Office 365 relay for outgoing mail

Subscriure's

Get notified when there's activity on this post

This question has been flagged
mailingoffice365
4 Respostes
7581 Vistes
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
Descartar
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
Descartar
Avatar
Stan
Autor 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
Descartar
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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
Bug odoo v18 sending abandoned cart x2
mailing
Avatar
0
de jul. 25
1781
Invalid link on Task invitation
mailing
Avatar
0
de maig 22
2869
How-To Add Salesperson field from Contact to Mailings to be used as Dynamic Placeholder
mailing
Avatar
0
de maig 21
2315
Unable to send email after clicked retry on Mass Mailings
mailing
Avatar
Avatar
Avatar
2
de jul. 16
5870
Massing explanation
mailing
Avatar
0
de març 15
3855
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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