Hoppa till innehåll
Odoo Meny
  • Logga in
  • Prova gratis
  • Appar
    Ekonomi
    • Bokföring
    • Fakturering
    • Utgifter
    • Kalkylark (Affärsanalyser)
    • Dokument
    • Underskrifter
    Försäljning
    • CRM
    • Försäljning
    • Kassasystem Butik
    • Kassasystem Restaurang
    • Prenumerationer
    • Uthyrning
    Hemsida
    • Hemsidesverktyg
    • E-handel
    • Blogg
    • Forum
    • Livechatt
    • Utbildning
    Försörjningskedja
    • Lager
    • Produktion
    • Produktens livscykel (PLM)
    • Inköp
    • Underhåll
    • Kvalitet
    HR
    • Anställda
    • Rekrytering
    • Ledighet
    • Utvärderingar
    • Rekommendationer
    • Fordon
    Marknadsföring
    • Sociala medier
    • E-postmarknadsföring
    • Sms-marknadsföring
    • Evenemang
    • Automatiserad marknadsföring
    • Enkäter
    Tjänster
    • Projekt
    • Tidrapporter
    • Fältservice
    • Kundtjänst
    • Planering
    • Tidsbokningar
    Produktivitet
    • Diskutera
    • AI
    • IoT
    • VoIP
    • Kunskap
    • WhatsApp
    Community-appar Odoo Studio Odoo Cloud
  • Branscher
    Butiker
    • Bokaffärer
    • Klädbutiker
    • Möbelaffärer
    • Mataffärer
    • Byggvaruhus
    • Leksaksaffärer
    Restaurang & Hotell
    • Barer och pubar
    • Restauranger
    • Snabbmatsrestauranger
    • Gästhus
    • Dryckesdistributörer
    • Hotell
    Fastigheter
    • Fastighetsbyråer
    • Arkitektfirmor
    • Byggföretag
    • Fastighetsägare
    • Trädgårdsmästare
    • Bostadsrättsföreningar
    Hitta en konsult
    • Redovisningsbyrå
    • Odoo Partner
    • Reklambyråer
    • Advokatbyråer
    • Rekrytering
    • Revisioner och certifieringar
    Produktion
    • Textilproduktion
    • Metallproduktion
    • Möbelproduktion
    • Livsmedelsproduktion
    • Bryggerier
    • Företagsgåvor
    Hälsa och fitness
    • Sportklubbar
    • Optiker
    • Träningscenter
    • Friskvård
    • Apotek
    • Frisörsalonger
    Hantverk
    • Hantverkare
    • IT-utrustning och kundtjänst
    • Solceller, solpaneler och solenergi
    • Skomakare
    • Städföretag
    • VVS-tjänster
    Övrigt
    • Ideella föreningar
    • Miljöförvaltningar
    • Uthyrning av reklamtavlor
    • Fotografer
    • Cykeluthyrning
    • Återförsäljare av mjukvara
    Upptäck alla Branscher
  • Community
    Utbildning
    • Instruktionsvideor
    • Dokumentation
    • Certifiering
    • Utbildningar
    • Blogg
    • Podcast
    Lär dig med oss
    • Workshops
    • Företagsspelet Scale Up!
    • Studiebesök hos Odoo
    Mjukvaran
    • Ladda ner
    • Jämför utgåvor
    • Versionsinformation
    Samverkan
    • GitHub
    • Forum
    • Evenemang
    • Översättningar
    • Bli en partner
    • Partnertjänster
    • Registrera din redovisningsbyrå
    Våra tjänster
    • Partners
    • Revisorer
    • Träffa en rådgivare
    • Implementering
    • Kundrecensioner
    • Kundtjänst
    • Uppgraderingar
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Boka en demo
  • Priser
  • Hjälp
Du måste vara registrerad för att kunna interagera med communityn.
Alla inlägg Personer Utmärkelser
Etiketter (Visa alla)
odoo accounting v14 pos v15
Om detta forum
Du måste vara registrerad för att kunna interagera med communityn.
Alla inlägg Personer Utmärkelser
Etiketter (Visa alla)
odoo accounting v14 pos v15
Om detta forum
Hjälp

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

Prenumerera

Få ett meddelande när det finns aktivitet på detta inlägg

Denna fråga har flaggats
mailoutgoingmailserveroutgoingmailserverV16
1 Besvara
1642 Vyer
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
Avbryt
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
Författare

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
Författare

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
Författare

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
Bästa svar
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
Avbryt
Njuter du av diskussionen? Läs inte bara, delta också!

Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!

Registrera dig
Relaterade inlägg Svar Vyer Verksamhet
Custom Email Server not working in Community Edition (Odoo 15) Löst
outgoing mailserver outgoingmailserver
Avatar
Avatar
1
mars 25
5584
How to correctly configure Zoho Mail SMTP in Odoo 18? Getting “please run connect() first” error Löst
mail mailserver zoho outgoingmailserver
Avatar
Avatar
Avatar
2
nov. 25
3237
"Invalid server name empty label" when configuring Oracle OCI SMTP
mail smtp outgoingmailserver V16
Avatar
Avatar
Avatar
2
nov. 25
1219
Multiple outgoing mail servers
mail email mailserver outgoing_server outgoingmailserver
Avatar
Avatar
Avatar
2
maj 24
7225
problem with sending emails with different mails, although they have outgoing mail servers
mail smtp mailserver outgoing_server outgoingmailserver
Avatar
Avatar
1
maj 24
3289
Community
  • Instruktionsvideor
  • Dokumentation
  • Forum
Öppen källkod
  • Ladda ner
  • GitHub
  • Runbot
  • Översättningar
Tjänster
  • Odoo.sh Hosting
  • Kundtjänst
  • Uppgradera
  • Anpassningsbara modifikationer
  • Utbildning
  • Revisorer
  • Partners
  • Bli en partner
Om oss
  • Vårt företag
  • Varumärkestillgångar
  • Kontakta oss
  • Jobb
  • Evenemang
  • Podcast
  • Blogg
  • Kunder
  • Juridiskt • Integritet
  • Säkerhet
الْعَرَبيّة 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 är ett affärssystem med öppen källkod som täcker alla dina företagsbehov: CRM, e-handel, bokföring, lager, kassasystem, projektledning, och så vidare.

Odoos unika värdeförslag är att samtidigt vara väldigt enkel att använda men också helt integrerad.

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