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

"Invalid server name empty label" when configuring Oracle OCI SMTP

This question has been flagged
The question has been closed for reason: duplicate post
by Ray Carnes (ray) on 11/24/2025 04:17:33
mailsmtpoutgoingmailserverV16
2 Replies
419 Views
Avatar
Hemanth

I am trying to configure the Outgoing Mail Server in Odoo using Oracle Cloud Infrastructure (OCI) Email Delivery, but I am unable to connect.

Every time I click "Test Connection," I receive the following error:

Invalid server name empty label

My Configuration:

  • SMTP Server: "smtp.email.my-location-1.oci.oraclecloud.com"

  • SMTP Port: 587

  • Connection Security: TLS (STARTTLS)

  • Username: "ocid1.user.oc1..aaaaaaaaeaqpyrm2s4qkl4356d4jgycvgmy3fik2mbtgrggbapwwpriutxra@ocid1.tenancy.oc1..aaaaaaaalk77es64hwwqj56ppas3eekyf762cukb52j7tx2mc2yajxh5u4oq.wk.com" (Standard OCI format)

  • Password: ABCD1234

    {I changed the username string so these are not the original credentials, but I have in the same format} 

Avatar
Discard
Kunjan Patel

Hey Hemanth,

Can you share a detailed screenshot showing the issue, including the exact error that appears and the time it occurred?

Hemanth
Author

Please check this: https://jumpshare.com/s/y9L38ufMM2JPLHGrzzzf

Hemanth
Author

And this is with the IP: https://jumpshare.com/s/zoxNKSf8aTThou2zW6yR

Codesphere Tech

Enable option debugging, it will display detailed error

Hemanth
Author

[REDACTED_TIMESTAMP] [REDACTED_PID] WARNING [REDACTED_DB] odoo.http: Invalid server name !
Empty Label
[REDACTED_TIMESTAMP] [REDACTED_PID] INFO [REDACTED_DB] werkzeug: [REDACTED_IP] - - [24/Nov/2025 06:43:18] "POST /web/dataset/call_button HTTP/1.1" 200 - 3 0.001 0.077
[REDACTED_TIMESTAMP] [REDACTED_PID] INFO [REDACTED_DB] werkzeug: [REDACTED_IP] - - [24/Nov/2025 06:43:31] "POST /web/dataset/call_kw/ir.mail_server/write HTTP/1.1" 200 - 4 0.002 0.004
[REDACTED_TIMESTAMP] [REDACTED_PID] INFO [REDACTED_DB] werkzeug: [REDACTED_IP] - - [24/Nov/2025 06:43:31] "POST /web/dataset/call_kw/ir.mail_server/read HTTP/1.1" 200 - 3 0.001 0.003
[REDACTED_TIMESTAMP] [REDACTED_PID] WARNING [REDACTED_DB] odoo.http: Invalid server name !
Empty Label
[REDACTED_TIMESTAMP] [REDACTED_PID] INFO [REDACTED_DB] werkzeug: [REDACTED_IP] - - [24/Nov/2025 06:43:31] "POST /web/dataset/call_button HTTP/1.1" 200 - 3 0.001 0.077

I enabled the debug option but it still shows the same in logs and display.

Hemanth
Author

[REDACTED_TIMESTAMP] [REDACTED_PID] WARNING [REDACTED_DB] odoo.http: Invalid server name !
Empty Label
I enabled the debug option but it still shows the same in logs and display.

Codesphere Tech

The username you provided is the SMTP username not IAM User name, right?

Hemanth
Author

Yes, it is SMTP username generated automatically by Oracle.

Kunjan Patel

The error means Odoo has empty or corrupted data in the SMTP server field, not that the server name is wrong.

Try this:
1. Go to Settings → Technical → Outgoing Mail Servers
2. Delete the existing mail server entry completely or paste fresh (no trailing spaces)
3. Create a NEW one with: smtp.email.ap-hyderabad-1.oci.oraclecloud.com
4. Restart Odoo: sudo systemctl restart odoo

# From your Odoo directory
grep -r "Invalid server name" --include="*.py"
This will show where the validation is happening

Database check - the value might be corrupted: Check what's actually stored in the database. The field might be empty.

Hemanth
Author

Thank you, Kunjal Patel.

I changed the hostname to the IP address as you suggested, but I’m still seeing the same error: “invalid server name empty label.” I’m not sure what exactly is going wrong here.

Codesphere Tech

You can connect with any expert for this issue. Because we have followed all the possible steps.

Hemanth
Author

Thank you, and how can I connect to an expert?

Codesphere Tech

You can contact through this list: https://www.odoo.com/partners/country/india-10

Avatar
Ray Carnes (ray)
Best Answer

Closing, as this is a duplicate of https://www.odoo.com/forum/help-1/invalid-server-name-empty-label-while-configuring-outgoing-mail-server-291528

0
Avatar
Discard
Avatar
Kunjan Patel
Best Answer

Hello Hemanth,
I hope you are doing well, 

can you check that : https://www.odoo.com/forum/help-1/invalid-server-name-empty-label-while-configuring-outgoing-mail-server-291528 I have answered it

Hope this information helps you.

Thanks & Regards,
Kunjan Patel

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
"Invalid server name empty label" while configuring outgoing mail server
mail outgoing mailserver outgoingmailserver V16
Avatar
Avatar
1
Nov 25
502
problem with sending emails with different mails, although they have outgoing mail servers
mail smtp mailserver outgoing_server outgoingmailserver
Avatar
Avatar
1
May 24
2350
GMAIL outgoing mail servers not working on Odoo SH Solved
mail smtp odoo11
Avatar
Avatar
Avatar
2
May 24
5037
Cant connect to outgoing mail server
smtp outgoingmailserver Odoo13.0
Avatar
Avatar
Avatar
2
May 24
4668
SSL Wrong Version - Can't initialize Postmark as Outgoing Mail Server
mail smtp marketing
Avatar
0
May 24
4061
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