得到“530 5.7.0 必须先发出 STARTTLS 命令."通过 netcat 发送邮件时出错 [英] getting "530 5.7.0 Must issue a STARTTLS command first." error when sending mail via netcat

查看:11
本文介绍了得到“530 5.7.0 必须先发出 STARTTLS 命令."通过 netcat 发送邮件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 netcat 发送电子邮件,这就是我得到的:

I'm trying to send an email with netcat, this is what i get:

****-MacBook-Pro:~ ***$ nc smtp.gmail.com 25
220 mx.google.com ESMTP h8sm66301168eew.16 - gsmtp
Helo gmail.com
250 mx.google.com at your service
MAIL FROM: <******@gmail.com>
530 5.7.0 Must issue a STARTTLS command first. h8sm66301168eew.16 - gsmtp

什么是 STARTTLS 命令,我需要用它做什么?

what is STARTTLS command and what do i need to do with it?

推荐答案

STARTTLS 是对纯文本通信协议的扩展,它提供了一种将纯文本连接升级为加密(TLS 或 SSL)连接的方法,而不是使用用于加密通信的单独端口.

STARTTLS is an extension to plain text communication protocols, which offers a way to upgrade a plain text connection to an encrypted (TLS or SSL) connection instead of using a separate port for encrypted communication.

http://en.wikipedia.org/wiki/STARTTLS

smtp 服务器说它不接受纯文本连接.

The smtp server is saying it won't accept plain text connections.

这篇关于得到“530 5.7.0 必须先发出 STARTTLS 命令."通过 netcat 发送邮件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆