Created
July 17, 2016 14:45
-
-
Save floudet/75f3e089fd400c06abfc491b8098d158 to your computer and use it in GitHub Desktop.
Send a RFC 5322 compliant email using telnet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ telnet mail.example.org 25 | |
Trying XXX.XXX.XXX.XXX... | |
Connected to XXX.XXX.XXX.XXX. | |
Escape character is '^]'. | |
220 ********************************* | |
ehlo server.example.org | |
250-mail.example.com | |
250-PIPELINING | |
250-SIZE 20480000 | |
250-ETRN | |
250-AUTH PLAIN LOGIN | |
250-AUTH=PLAIN LOGIN | |
250-ENHANCEDSTATUSCODES | |
250-8BITMIME | |
250 DSN | |
mail from: [email protected] | |
250 2.1.0 Ok | |
rcpt to: [email protected] | |
250 2.1.5 Ok | |
data | |
354 End data with <CR><LF>.<CR><LF> | |
from: TestSMTP <[email protected]> | |
to: [email protected] | |
Subject: This is a test | |
This is a RFC compliant email sent using telnet. | |
Thank you! | |
. | |
250 2.0.0 Ok: queued as 9XXXXF80003 | |
quit | |
221 2.0.0 Bye | |
Connection closed by foreign host. |
I think the creation date is missing.
Without the date its already compliant
I think the creation date is missing.
Without the date its already compliant
apparently it is not
opendmarc[8478]: 48R49VNx014683: RFC5322 requirement error: not exactly one Date field
the following field is also required
Date: 2024/09/27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the creation date is missing.