Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
mailoutgoingmailserveroutgoingmailserverV16
1 Répondre
1628 Vues
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
Ignorer
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
Auteur

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
Auteur

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
Auteur

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
Meilleure réponse
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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Custom Email Server not working in Community Edition (Odoo 15) Résolu
outgoing mailserver outgoingmailserver
Avatar
Avatar
1
mars 25
5580
How to correctly configure Zoho Mail SMTP in Odoo 18? Getting “please run connect() first” error Résolu
mail mailserver zoho outgoingmailserver
Avatar
Avatar
Avatar
2
nov. 25
3233
"Invalid server name empty label" when configuring Oracle OCI SMTP
mail smtp outgoingmailserver V16
Avatar
Avatar
Avatar
2
nov. 25
1214
Multiple outgoing mail servers
mail email mailserver outgoing_server outgoingmailserver
Avatar
Avatar
Avatar
2
mai 24
7217
problem with sending emails with different mails, although they have outgoing mail servers
mail smtp mailserver outgoing_server outgoingmailserver
Avatar
Avatar
1
mai 24
3281
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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