gpt4 book ai didi

email - 从SSH测试Zoho Mail服务器

转载 作者:行者123 更新时间:2023-12-02 14:21:59 26 4
gpt4 key购买 nike

我想确保我们的服务器能够使用Zoho的服务进行连接和发送电子邮件。我如何仅通过连接到服务器ssh的终端进行测试?

服务器的设置是Linux Ubuntu,但最好不要使用平台无关的答案。

以下是Zoho的邮件服务器详细信息:
https://www.zoho.com/mail/help/zoho-smtp.html

最佳答案

在端口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

希望这足以

关于email - 从SSH测试Zoho Mail服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28083465/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com