An example of connecting to a mail server and executing a series of commands to send a letter via telnet.
After each line, press Enter .
telnet localhost 25
HELO mail.example.ru
MAIL FROM: user@example.ru
RCPT TO: yourtestbox@yourdomain.com
DATA
test
.
quit
← Back