Axude
PHP, MySQL, Apache, Debian, et bien d'autres!
-
septembre 21st, 2010MailSupposons que votre serveur de mails est: smtp.monserveur.com
Et que vous voulez tester depuis votre ordinateur ou un autre serveur qui se nomme pc.chezmoi.com
En ligne de commande (sur votre fenêtre
DOS ou Shell), exécutez les commandes suivantes:
C: la commande exécutée.
R: la réponse obtenue.C:telnet smtp.monserveur.com 25 R:Trying smtp.monserveur.com... R:Connected to smtp.monserveur.com. R:Escape character is '^]'. R:220 smtp.monserveur.com ESMTP ...versionXXXX DateTimeXXXXX C:HELO local.domain.name R:250 mail.domain.ext Hello local.domain.name [loc.al.i.p], pleased to meet you C:MAIL FROM: mail@domain.ext R:250 2.1.0 mail@domain.ext... Sender ok C:RCPT TO: mail@otherdomain.ext R:250 2.1.0 mail@otherdomain.ext... Recipient ok C:DATA R:354 Start mail input; end with . C:subject: le sujet de mon mail ceci est le corps du message . R:250 Mail accepted C:QUIT R:221 smtp.monserveur.com Service closing transmission channel R:Connection closed by foreign host.
Tags: dos, email, mail, serveur, shell, smtp, telnet -
