Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

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

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
outgoingemailsmtpofficemicrosoft
8 Replies
13109 Views
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
Discard
Michael Howarth
Author

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
Best Answer

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
Discard
Avatar
Michael Howarth
Author Best Answer

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
Discard
Rakesh Yadav

Michael,

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

Michael Howarth
Author

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

Avatar
Rakesh Yadav
Best Answer

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
Discard
Michael Howarth
Author

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!

Sign up
Related Posts Replies Views Activity
use two email server for two configured company
outgoing email smtp
Avatar
0
मई 24
2242
system (automatic) email not use smtp email gateway
outgoing email smtp
Avatar
1
मार्च 15
5613
Email fails to reach destination (OpenERP7)
outgoing email smtp mailserver
Avatar
Avatar
2
मार्च 15
8956
Office 365 outgoing mail server in Odoo Solved
outgoing smtp mailserver office odoo
Avatar
Avatar
1
जन॰ 21
21416
Odoo email is not working for Quotations
outgoing email smtp support_ticket qoutation
Avatar
Avatar
3
अक्तू॰ 19
4389
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة 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, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

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