0
After I connect to one of gmail's SMTP servers (via windows cmd), when I try
sending mail to myself, it keeps giving me the same error.
220 mx.google.com ESMTP u3si16129057wmg.22 - gsmtp
ehlo b
250-mx.google.com at your service, [2607:fcd8:a:5:426d:e920:51f3:f36e]
250-SIZE 157286400
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
MAIL FROM: <xxxxxxxxxx@gmail.com>
250 2.1.0 OK u3si16129057wmg.22 - gsmtp
RCPT TO: <xxxxxxxxxx@gmail.com>
250 2.1.5 OK u3si16129057wmg.22 - gsmtp
DATA
354 Go ahead u3si16129057wmg.22 - gsmtp
SOMETHING SOMETHING SOMETHING.
.
550-5.7.1 [2607:fcd8:a:5:426d:e920:51f3:f36e 11] Our system has detected
550-5.7.1 that this message is not RFC 5322 compliant. To reduce the amount of
550-5.7.1 spam sent to Gmail, this message has been blocked. Please review
550 5.7.1 RFC 5322 specifications for more information. u3si16129057wmg.22 - gs
mtp
Connection to host lost.
Press any key to continue...
I looked up RFC 5322 and tried the following
220 mx.google.com ESMTP bo10si34007895wjb.163 - gsmtp
ehlo b
250-mx.google.com at your service, [2607:fcd8:a:5:426d:e920:51f3:f36e]
250-SIZE 157286400
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
MAIL FROM: <xxxxxxxxxx@gmail.com> CRLF
250 2.1.0 OK bo10si34007895wjb.163 - gsmtp
RCPT TO: <xxxxxxxxxx@gmail.com> CRLF
250 2.1.5 OK bo10si34007895wjb.163 - gsmtp
DATA CRLF
354 Go ahead bo10si34007895wjb.163 - gsmtp
something something something. CRLF
. crlf
. CRLF
.
550-5.7.1 [2607:fcd8:a:5:426d:e920:51f3:f36e 11] Our system has detected
550-5.7.1 that this message is not RFC 5322 compliant. To reduce the amount of
550-5.7.1 spam sent to Gmail, this message has been blocked. Please review
550 5.7.1 RFC 5322 specifications for more information. bo10si34007895wjb.163 -
gsmtp
Connection to host lost.
Any help is appreciated!
1What exactly is the question/issue you are trying to address? – Castaglia – 2016-04-05T02:18:39.397
How do I write an RFC 5322 compliant email through telnet? – None – 2016-04-05T05:32:36.107