我想确保我们的服务器能够连接并使用Zoho的服务发送电子邮件。我如何通过连接到服务器的ssh的终端来测试它?
服务器的设置是Linux Ubuntu,但最好是与平台无关的答案。
以下是Zoho的邮件服务器详细信息:https://www.zoho.com/mail/help/zoho-smtp.html
发布于 2015-01-27 21:28:51
在端口25上连接到smtp.zoho.com,建立smtp连接并发送邮件。对于SSL/TLS连接,应使用openssl库来建立smtp连接
对于简单的smtp连接
telnet smtp.zoho.com 25用于SSL连接
openssl s_client -connect smtp.zoho.com:465用于TLS连接
openssl s_client -starttls smtp -connect smtp.zoho.com:587 -crlf -ign_eof希望这就足够了
https://stackoverflow.com/questions/28083465
复制相似问题