Page 1 of 1

How to use the telnet command to send emails

Posted: Fri May 10, 2013 5:33 pm
by a24uall
telnet mydomain.com 110
How to login to pop server
USER [email protected]
PASS your_password
You are now "logged in" to the POP server.
To disconnect from pop server
quit
To reconnected to the SMTP port:
telnet mydomain.com 25
EHLO mydomain.com
MAIL FROM: anythingiwant@some_real_domain_name (not necessarily on this server)

RCPT TO: any_valid_string_of_characters@some_other_real_domain_name


250 Accepted
The email can be sent..