Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
3150 Weergaven
odoo_db_1 odoo.http: Invalid server name!
odoo17-web-1  |  Empty Label

I am trying to configure Oracle SMTP Email delivery as odoo Outgoing mail server. When I add the SMTP Server credentials and testing the connection using "Test Connection" button I am getting the following "Invalid server name! Empty Label" . I've also tried sending EMail from the EMails section but the sending is failed

I've verified the SMTP credentials using smtplib in python and I am able to send mail via python script. The Oracle SMTP relay uses port 587 and TLS is required. Let me know how to configure SMTP Starttls with Odoo17.

Any help is much appreciated.

Regards

Rajesh P


Avatar
Annuleer
Beste antwoord

I'm encountering exactly the same problem as described here but in Odoo 16 (Online Custom), also with Oracle OCI smtp mail infrastructure, suspecting also the very long user names Oracle is generating but this is nothing that can be controlled

Avatar
Annuleer
Auteur Beste antwoord

After encountering challenges with Oracle Mail Delivery and limitations in changing SMTP credentials directly, I explored using SendGrid as an alternative SMTP provider. Despite facing constraints with both Oracle and SendGrid, the workaround that worked for me was adapting to the SMTP relay of SendGrid. This change successfully resolved the email delivery issues I experienced with Odoo.

If you're facing similar hurdles with Oracle's SMTP configuration, consider exploring alternative providers like SendGrid. I suspect the issue with Oracle is their super long credentials. SMTP Username is more than 100chars long in Oracle Email Delivery and in SendGrid it is just 6 char long. hh

Avatar
Annuleer
Beste antwoord

Hi,

Please go through the below screenshot and verify all the provided details are in correct manner.


In the configuration form, you need to provide the following information:

* Name: Give your outgoing mail server a descriptive name.
* Authenticate With: User Name
* SMTP Server: smtp.gmail.com
* SMTP Port: The port of your SMTP server, here it is 465
* Connection Encryption: SSL/TLS
* Username: Your Email Id
* Password: Provide the password of your Email ID
* Priority: A lower numerical value indicates a higher priority.

Please refer the below blog too
https://www.cybrosys.com/blog/how-to-configure-outgoing-and-incoming-mail-servers-in-odoo-17


Hope it helps

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mrt. 25
4841
2
mrt. 25
1051
1
mrt. 22
2716
2
okt. 24
4252
2
jul. 24
2099