跳至內容
選單
此問題已被標幟
1 回覆
2927 瀏覽次數

My mail server was facing some error, past few months it works properly from yesterday it was not working when  clicking a test connection button following error was showing. i am also changed the mail id too but it was also showing the same error.

Connection Test Failed! Here is what we got instead:
encoding with 'idna' codec failed (UnicodeError: label too long)

頭像
捨棄

Please can u show us the configuration and picture ?
Regards !

作者

priority: 10, smtp server: smtp.gmail.com, Smtp port: 465, Debugging marked, connection security: SSL/TLS, Gmail username, password

最佳答案

Hi,

The error message "encoding with 'idna' codec failed (UnicodeError: label too long)" typically occurs when the email server name or email address being used for the outgoing mail server has exceeded the maximum length allowed by the server.


To fix this issue, you can try the following steps:

1.Check the email server name or IP address being used for the outgoing mail server to ensure it is correct.
2.Check the email address being used for the outgoing mail server to ensure it is correct and does not exceed the maximum length allowed by the server.
3.Try using a different email server or email address for the outgoing mail server and see if the error persists.

If the error persists, you can refer to the blog and video tutorials on email configuration in Odoo 12 to troubleshoot the issue further:

The blog can be found at https://www.cybrosys.com/blog/email-configuration-in-odoo 

and the video tutorial can be found at https://www.youtube.com/watch?v=tXi4jtIN_io.

Regards

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 25
3599
0
4月 19
3326
3
3月 25
4815
2
11月 24
4857
2
9月 24
1672