跳至内容
菜单
此问题已终结
3 回复
3146 查看
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
4834
2
3月 25
1044
1
3月 22
2716
2
10月 24
4251
2
7月 24
2096