# telnet smtp.example.com 25
HELO mymachine
MAIL FROM: <from@example.com>
RCPT TO: <to@example.com>
DATA
From: from@example.com
To: to@example.com
Subject: TEST
mail body is here.
.
QUIT
||<
-SMTP Auth
>||
220 smtp.example.com ESMTP
EHLO [10.0.7.1]
250-smtp.example.com
250-PIPELINING
250-SIZE 33000000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
AUTH PLAIN eW9zaGlmdW1pMTk3NQ==
235 Authentication successful
MAIL FROM:<yoshifumi1975@example.com> SIZE=911
250 Ok
RCPT TO:<yoshifumi1975@example.com>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: yoshifumi1975@example.com
To: yoshifumi1975@example.com
Subject: test
Yoshifumi Kinoshita wrote:
TEST
.
250 Ok: queued as 100C77C1E3
QUIT
221 Bye