简体   繁体   English

如何解决 Perfex CRM 中的 SMTP 连接问题

[英]How to solve SMTP connection problem in Perfex CRM

I'm getting the following error Email SMTP setting of Perfex, please help我收到以下错误 Email SMTP Perfex 设置,请帮助

Connection: opening to smtppro.zoho.com:587, timeout=30, options=array ( )
Connection: opened
SERVER -> CLIENT: 220-server12.thulo.com ESMTP Exim 4.93 #2 Tue, 26 Jan 2021 22:22:49 +0545 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
CLIENT -> SERVER: EHLO crm.d20labs.art
SERVER -> CLIENT: 250-server12.thulo.com Hello crm.d20labs.art [165.22.215.101] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP
CLIENT -> SERVER: STARTTLS
SERVER -> CLIENT: 220 TLS go ahead
Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`server12.thulo.com' did not match expected CN=`smtppro.zoho.com' [/home/dlabsart/public_html/crm/application/vendor/phpmailer/phpmailer/class.smtp.php line 374]
SMTP Error: Could not connect to SMTP host.
CLIENT -> SERVER: QUIT
SERVER -> CLIENT: �k�^��]�|�O�BS�+Uu���o�:221 server12.thulo.com closing connection
SMTP ERROR: QUIT command failed: �k�^��]�|�O�BS�+Uu���o�:221 server12.thulo.com closing connection
Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

This one's pretty self-explanatory, but there's not much you to my knowledge can do about the error you're getting:这是不言自明的,但据我所知,对您遇到的错误无能为力:

Peer certificate CN=`server12.thulo.com' did not match expected CN=`smtppro.zoho.com'

This indicates a certificate mismatch issue - the SMTP certificate verification for the TLS connection did not match what was expected and therefore you have an "Invalid Certificate" problem - in Firefox or Chrome this would be "The certificate does not match the domain/url".这表明存在证书不匹配问题 - TLS 连接的 SMTP 证书验证与预期不匹配,因此您遇到“证书无效”问题 - 在 Firefox 或 Chrome 中,这将是“证书与域/url 不匹配” .

This is an issue with the SMTP side of things, on the remote servers you're connecting to, and it may be something you have to talk to Zoho about for properly configuring this;这是 SMTP 方面的问题,在您连接到的远程服务器上,您可能需要与 Zoho 讨论以正确配置它; if Perfex CRM has an option in its SMTP settings to ignore invalid certificates then that's your workaround, but it's a very insecure workaround.如果 Perfex CRM 在其 SMTP 设置中有一个选项可以忽略无效证书,那么这就是您的解决方法,但这是一个非常不安全的解决方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM