简体   繁体   中英

Smtp server which expect SSL connection on 465 or 587

有一些使用端口465进行安全连接的SMTP服务器,但是,当使用TcpClient连接到该端口上的这些服务器时,没有发送欢迎消息,请问我在连接后立即确保连接的安全吗?

465 is meant for STMP over SSL, you'll have to establish an SSL connection before the SMTP conversation even starts, otherwise you won't get anything back, including a greeting banner. TLS works differently by starting a conversation and then encrypting.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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