Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Outgoing messages taking a long time to send (hanging Odoo) - configured with Office 365

Odebírat

Get notified when there's activity on this post

This question has been flagged
outgoingemailsmtpofficemicrosoft
8 Odpovědi
13099 Zobrazení
Avatar
Michael Howarth

Version 8.0-20160426
I'm having a problem where upon clicking a "Send email" button in Odoo, in that the mail that is being sent shows the circle "waiting" logo and takes minutes to send leaving the user unable to work further in Odoo until the mail has been sent.

This only seems to happen in about one in three emails, but it's significant enough to be a problem for my users.

A little background 

I have Odoo hooked up to my Office 365 SMTP.

Following some of the advice given in the following thread, the steps below are how I have configured Odoo to use Office 365's SMTP relay: https://www.odoo.com/forum/help-1/question/outgoing-mail-server-not-working-with-smtp-office365-com-35676
Supplemented by using Option 3 from the Office 365 guide here:
https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4

  1. On Office 365 >admin>domain>click primary>Exchange Online>
    Copy the mx domain address (which should look something like: mydomain_com.mail.protection.outlook.com)
    This is the name of my outgoing SMTP server for Odoo - to be pasted later

  2. Copy the recommended SPF rule and add in my Odoo server's IP, then add SPF record to my DNS records
     v=spf1 ip4:10.10.10.10 include:spf.protection.out...

  3. Back to admin on Office 365 >admin>exchange>mail flow>connector>add
    Add a new rule From My organization's email server to office 365
    Add the Odoo server's ip address

  4. On Odoo Settings>Config>General settings:
    Uncheck "Use external authentication providers..."

  5. On Odoo Settings>Technical>Outgoing Mail Servers
    Smtp server: mx endpoint of domain which copied on step1.
    Port: 25
    Security: TSL(STARTTLS)
    No username or password required

  6. In Odoo go to Settings>Technical>System Parameters - Then remove mail.catchall.domain and mail.catchall.alias 

My messages are all being sent - there are no issues there, but as I say,  Odoo seems to regularly hang when sending messages and it's driving my user's insane.  

I've been over the settings time and time again to ensure everything is set up correctly, but I can't see any reason why this might be happening. I'm hoping someone here might be able to shed some light on the issue!

0
Avatar
Zrušit
Michael Howarth
Autor

It is also worth mentioning that in sending test message to myself, I actually receive the test email in my inbox as Odoo is still sitting there, hanging, telling me to go and make a coffee. So it's like it has done the hard work, but for some reason it still wants to make me wait. I'm not sure why.

Avatar
Oleg Kuryan
Nejlepší odpověď

Hi Guys,

I have prepared a guide on how to integrate the Odoo ERP with Office 365 mail server ( https://ventor.tech/guides/how-to-configure-emails-to-work-with-office-365-and-odoo/ ). It has been verified on many customers already, and all screenshots are from latest Odoo (11 at the moment of writing) and latest version of Office 365. 

At a glance what  should be done:

- Configure Outgoing mail Server in Office 365 as Relay Server

- Configure Catchall Email in Office 365

- Install Odoo module to inform users that they used the wrong email

- Configure Outgoing Mail Server in Odoo

- Configure Incoming Mail Server in Odoo

- Test Odoo ERP Emailing Setup

2
Avatar
Zrušit
Avatar
Michael Howarth
Autor Nejlepší odpověď

Okay, ultimately I didn't find a bonafide solution to this problem within Office 365.

What I did do to solve my problem in the end was to switch and use the Amazon Web Server, SES service to set-up an SMTP server.

It was actually 10 times easier than using Office 365, with less steps to set-up and works with no issues whatsoever.  
I've pasted in a link to set-up instructions below. 

http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp.html

The only thing to be aware of is that when you paste in the settings to Odoo, you need to use SSL/TLS, rather than TLS (STARTLS) - both will work in testing, but in production only SSL/TLS works every time.


Mohit, if you can upvote this reply I'll try to help you (I only have 7 Karma and need 8 to reply to your message with a comment).

1
Avatar
Zrušit
Rakesh Yadav

Michael,

I did it. Plz help me. Thank u very much in advance

Michael Howarth
Autor

Thank you... I replied to your question below as a comment. I hope it helps.

Avatar
Rakesh Yadav
Nejlepší odpověď

Hi Michael, 

Can you please explain in detail about these steps? I am unable to find some of these options in Office 365 and can't send mails from Odoo:

  1. On Office 365 >admin>domain>click primary>Exchange Online>
    Copy the mx domain address (which should look something like: mydomain_com.mail.protection.outlook.com)
    This is the name of my outgoing SMTP server for Odoo - to be pasted later

  2. Copy the recommended SPF rule and add in my Odoo server's IP, then add SPF record to my DNS records
     v=spf1 ip4:10.10.10.10 include:spf.protection.out...

Please help me. I am stuck in Office 365. 

Thanks in advance.

1
Avatar
Zrušit
Michael Howarth
Autor

Hi Mohit,

I need to change this bit of my original post as I think I may have copied it down wrong.

Anyway, this:

On Office 365 > admin > domain > click primary > Exchange Online >

should be this:

On Office 365 > admin > settings > domains > Click on the domain you wish to use for emails

If you follow the above path within your Office 365 login, you should be able to get the required MX record information that you will need.

I will try to go back and edit my original question to reflect this.

As I say in my reply below, Office 365 didn't work very well for me, so I ended up using AWS SME, so if you're having further problems it might be worth looking at creating an AWS account, or trying a different SMTP server you can send from. I hope this helps?

Rakesh Yadav

After following your steps I found this: "my-domain-name.onmocrosoft.com"

Is this MX record that you are talking about?

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
use two email server for two configured company
outgoing email smtp
Avatar
0
kvě 24
2238
system (automatic) email not use smtp email gateway
outgoing email smtp
Avatar
1
bře 15
5606
Email fails to reach destination (OpenERP7)
outgoing email smtp mailserver
Avatar
Avatar
2
bře 15
8948
Office 365 outgoing mail server in Odoo Vyřešeno
outgoing smtp mailserver office odoo
Avatar
Avatar
1
led 21
21408
Odoo email is not working for Quotations
outgoing email smtp support_ticket qoutation
Avatar
Avatar
3
říj 19
4386
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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