连接 telnet 时出现类似“556 5.7.5 Invalid RFC missing body”的错误
While connecting telnet I got errors like "556 5.7.5 Invalid RFC missing body"
我尝试使用 SMTP 验证所有邮箱的电子邮件地址,它工作正常,但 Yahoo 电子邮件 ID 除外。连接 telnet 时出现错误,如“556 5.7.5 无效的 RFC 缺失正文”。
Jayashree,欢迎来到 Stack Overflow。
您收到的错误消息与您的测试电子邮件没有正文部分有关。正文部分在 Content-Transfer-Encoding
.
之后的 2 <CRLF><CRLF>
之后立即开始
开始于 Good morning.
结束于 P | 999.555.1234
以下是格式正确的 text/plain
电子邮件的完整示例。
To: "Jane Doe" <jane@example1.com>
From: "John Doe" <john@example1.com>
Subject: A text/plain email
MIME-Version: 1.0 (Created with SublimeText 3)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Good morning.
This is a message in text/plain format.
It contains text/plain.
It contains no base64 inline images or attachments.
Each line is no more than 76 characters in length.
Please reach out if you have any questions.
Thank you,
John Doe
SENIOR DEVELOPER
XYZ Solutions Inc.
P | 999.555.1234
我尝试使用 SMTP 验证所有邮箱的电子邮件地址,它工作正常,但 Yahoo 电子邮件 ID 除外。连接 telnet 时出现错误,如“556 5.7.5 无效的 RFC 缺失正文”。
Jayashree,欢迎来到 Stack Overflow。
您收到的错误消息与您的测试电子邮件没有正文部分有关。正文部分在 Content-Transfer-Encoding
.
<CRLF><CRLF>
之后立即开始
开始于 Good morning.
结束于 P | 999.555.1234
以下是格式正确的 text/plain
电子邮件的完整示例。
To: "Jane Doe" <jane@example1.com>
From: "John Doe" <john@example1.com>
Subject: A text/plain email
MIME-Version: 1.0 (Created with SublimeText 3)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Good morning.
This is a message in text/plain format.
It contains text/plain.
It contains no base64 inline images or attachments.
Each line is no more than 76 characters in length.
Please reach out if you have any questions.
Thank you,
John Doe
SENIOR DEVELOPER
XYZ Solutions Inc.
P | 999.555.1234