Created
December 4, 2012 10:27
-
-
Save hj91/4202475 to your computer and use it in GitHub Desktop.
How to send mail using exim and command line prompt
This file contains hidden or 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
user@localhost:~$ telnet localhost 25 | |
Trying ::1... | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
220 localhost ESMTP Postfix (Ubuntu) | |
mail from:root@localhost | |
250 2.1.0 Ok | |
rcpt to:harshad@localhost | |
250 2.1.5 Ok | |
data | |
354 End data with <CR><LF>.<CR><LF> | |
hello, wussap? | |
. | |
250 2.0.0 Ok: queued as AB5061ACA624 | |
quit | |
221 2.0.0 Bye | |
yeah, this is how real men send mails! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment