Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Artificial Intelligence
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Property Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

"Invalid server name empty label" while configuring outgoing mail server

Naroči se

Get notified when there's activity on this post

This question has been flagged
mailoutgoingmailserveroutgoingmailserverV16
1 Odgovori
1516 Prikazi
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} 

0
Avatar
Opusti
Codesphere Tech

Hello,
Please check your details with below screenshot.
If not solved by this, comment here.



Codesphere Tech

"smtp.email.my-location-1.oci.oraclecloud.com" is this quote only display purpose, right?

Hemanth
Avtor

I am entering smtp.email.my-location-1.oci.oraclecloud.com as the SMTP server and ocid1.user.oc1..aaaaaaaae.. as the username. and after typing port number
When I select TLS (STARTTLS), I get the error: “Invalid server name! Empty Label.”
When I select SSL/TLS, I get:
“Connection Test Failed! Here is what we got instead:
1
[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1137)”
When I select None, I receive the same error: “Invalid server name! Empty Label.”

Codesphere Tech

TLS (STARTTLS), encryption and validation
TLS (STARTTLS), encryption only
Which option you selected?
And add the port 587 as per oracle documentation.

Hemanth
Avtor

I am using Odoo V16 I only have three options for Connection Encryption:
None
TLS (STARTTLS)
SSL/TLS

Codesphere Tech

I unable to reproduce this issue in my environment.. Sorry for not helping you..

Kunjan Patel

Hello Hemanth , you can 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

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

Hemanth
Avtor

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.

PTY60222 Brooks Allan González

Hi, did someone solve this? the problem is that the username includes two dots in the email of username.

I tested it with a curl command in terminal with the credentials provided by OCI and I got the mail.

but in Odoo 19, I´m getting the empty label error. if I change the username to a shorter version, I then get invalid credentials.


Thanks




Avatar
Kunjan Patel
Best Answer
Hello Hemanth
I hope you are doing well,

Here is Solution Use IP Address Instead of Hostname  Recommended

Oracle OCI SMTP servers have static IP addresses. Use the IP instead of the hostname.

Find OCI SMTP IP:
# On your server/local machine
nslookup smtp.email.my-location-1.oci.oraclecloud.com has address 203.0.113.45

Configure in Odoo:
  - Go to: Settings → Technical → Email → Outgoing Mail Servers → Create
  - SMTP Server: 203.0.113.45 (use the IP from nslookup)
  - SMTP Port: 587
  - Connection Security: TLS (STARTTLS)
  - Username: Your OCI SMTP username (e.g., ocid1.user.oc1..aaa...)
  - Password: Your OCI SMTP password
  - Click Test Connection

Hope this information helps you.

Thanks & Regards,
Kunjan Patel
0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Custom Email Server not working in Community Edition (Odoo 15) Solved
outgoing mailserver outgoingmailserver
Avatar
Avatar
1
mar. 25
5525
How to correctly configure Zoho Mail SMTP in Odoo 18? Getting “please run connect() first” error Solved
mail mailserver zoho outgoingmailserver
Avatar
Avatar
Avatar
2
nov. 25
3103
"Invalid server name empty label" when configuring Oracle OCI SMTP
mail smtp outgoingmailserver V16
Avatar
Avatar
Avatar
2
nov. 25
1121
Multiple outgoing mail servers
mail email mailserver outgoing_server outgoingmailserver
Avatar
Avatar
Avatar
2
maj 24
7135
problem with sending emails with different mails, although they have outgoing mail servers
mail smtp mailserver outgoing_server outgoingmailserver
Avatar
Avatar
1
maj 24
3187
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 Svenska ภาษาไทย 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