Telnet+SMTP — отправка тестового письма.

Для освежения памяти:

Отправка тестового письма (подставьте параметры своих серверов):


% telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.Escape character is '^]'.
220 mymailserver1.ua ESMTP Exim 4.82 Tue, 08 Apr 2014 20:02:20 +0300
HELO mymailserver1.ua
250 mymailserver1.ua Hello mymailserver1.ua [127.0.0.1]
MAIL FROM:
250 OK
RCPT TO:
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
From: mymail@mymailserver1.ua
To: mymail@mymailserver2.ua
Subject: TEST
Test for mymail@mymailserver2.ua.
.
250 OK id=1WXZR9-000Fgp-8q
QUIT

Оставить комментарий