跳至內容
選單
此問題已被標幟
3 回覆
2594 瀏覽次數
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


頭像
捨棄
最佳答案

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

頭像
捨棄
作者 最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
3月 25
4342
2
3月 25
592
1
3月 22
2328
2
10月 24
3626
2
7月 24
1579