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}
Hello,

Please check your details with below screenshot.
If not solved by this, comment here.
"smtp.email.my-location-1.oci.oraclecloud.com" is this quote only display purpose, right?
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.”
TLS (STARTTLS), encryption and validation
TLS (STARTTLS), encryption only
Which option you selected?
And add the port 587 as per oracle documentation.
I am using Odoo V16 I only have three options for Connection Encryption:
None
TLS (STARTTLS)
SSL/TLS
I unable to reproduce this issue in my environment.. Sorry for not helping you..