Sous Linux, si vous voulez juste essayer d’envoyer des e-mails, utilisez :
echo "This will go into the body of the mail." | mail -s "Hello world" [email protected]
Avec telnet :
telnet smtp.server.fr 25
ESMTP Exim 4.71 – « ATLAS SMTP Service » Wed, 13 Jul 201 1 10:47:06 +0100
EHLO smtp.server.fr
Hello hns01-fw.internal.test.net [195.224.160.13]
250-SIZE 31457280
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
AUTH LOGIN
334 DXNl4gddhbWU3
cwtui3lAcmlja2ljaeFoYewuY2 (Base 64 encoded username)
334 UGFzc3dvcmQ6
YeGjc3ducmE (Base 64 encoded password)
235 Authentication succeeded
MAIL FROM: [email protected]
250 OK
RCPT TO: [email protected]
250 Accepted
DATA
354 Enter message, ending with « . » on a line by itself
Subject Test using Telnet
.
250 OK id=4Qgw3m-023484q-I5