Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

SMTP STARTTLS not sending EMails in Odoo 17

Subscribe

Get notified when there's activity on this post

This question has been flagged
emailmailservertlsstarttlsSMTP
3 Replies
4467 Views
Avatar
Rajesh P
odoo_db_1 odoo.http: Invalid server name!
odoo17-web-1  |  Empty Label

I am trying to configure Oracle SMTP Email delivery as odoo Outgoing mail server. When I add the SMTP Server credentials and testing the connection using "Test Connection" button I am getting the following "Invalid server name! Empty Label" . I've also tried sending EMail from the EMails section but the sending is failed

I've verified the SMTP credentials using smtplib in python and I am able to send mail via python script. The Oracle SMTP relay uses port 587 and TLS is required. Let me know how to configure SMTP Starttls with Odoo17.

Any help is much appreciated.

Regards

Rajesh P


0
Avatar
Discard
Avatar
Stefan Gyles
Best Answer

I'm encountering exactly the same problem as described here but in Odoo 16 (Online Custom), also with Oracle OCI smtp mail infrastructure, suspecting also the very long user names Oracle is generating but this is nothing that can be controlled

0
Avatar
Discard
Avatar
Rajesh P
Author Best Answer

After encountering challenges with Oracle Mail Delivery and limitations in changing SMTP credentials directly, I explored using SendGrid as an alternative SMTP provider. Despite facing constraints with both Oracle and SendGrid, the workaround that worked for me was adapting to the SMTP relay of SendGrid. This change successfully resolved the email delivery issues I experienced with Odoo.

If you're facing similar hurdles with Oracle's SMTP configuration, consider exploring alternative providers like SendGrid. I suspect the issue with Oracle is their super long credentials. SMTP Username is more than 100chars long in Oracle Email Delivery and in SendGrid it is just 6 char long. hh

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

Please go through the below screenshot and verify all the provided details are in correct manner.


In the configuration form, you need to provide the following information:

* Name: Give your outgoing mail server a descriptive name.
* Authenticate With: User Name
* SMTP Server: smtp.gmail.com
* SMTP Port: The port of your SMTP server, here it is 465
* Connection Encryption: SSL/TLS
* Username: Your Email Id
* Password: Provide the password of your Email ID
* Priority: A lower numerical value indicates a higher priority.

Please refer the below blog too
https://www.cybrosys.com/blog/how-to-configure-outgoing-and-incoming-mail-servers-in-odoo-17


Hope it helps

0
Avatar
Discard
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
SMTP user_email of o/g mail server reflect in from in mail instead of users email. Solved
email mailserver mailtemplate outgoingmailserver SMTP
Avatar
Avatar
Avatar
Avatar
3
Mar 25
5708
Email not being sent to recipients, but not appearing in the email list as Delivery Failed either.
email SMTP
Avatar
Avatar
2
Mar 25
1813
Email in Odoo
email mailserver
Avatar
Avatar
1
Mar 22
3474
Network is unreachable: configuring the outgoing Mail server odoo 15
email mailserver v15
Avatar
Avatar
Avatar
2
Oct 24
5160
Send email from logged in user email Id instead of outgoing mail server
outgoing email mailserver
Avatar
Avatar
Avatar
2
Jul 24
2915
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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