После подключения к одному из SMTP-серверов gmail (через windows cmd), когда я пытаюсь
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...
Я посмотрел RFC 5322 и попробовал следующее
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.
Любая помощь приветствуется!