Send an email via telnet and smtp
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 www.example.com ESMTP Postfix (Ubuntu)
EHLO www.example.com
250-www.example.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: joe@example.com
250 2.1.0 Ok
RCPT TO: sally@example.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
here
you
go
and
stuffs
.
250 2.0.0 Ok: queued as 75A358154
quit
221 2.0.0 Bye
Connection closed by foreign host.
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 www.example.com ESMTP Postfix (Ubuntu)
EHLO www.example.com
250-www.example.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: joe@example.com
250 2.1.0 Ok
RCPT TO: sally@example.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
here
you
go
and
stuffs
.
250 2.0.0 Ok: queued as 75A358154
quit
221 2.0.0 Bye
Connection closed by foreign host.
[Click to add or edit comments])
Please prepend comments below including a date