If you ever find yourself in a situation where you have to test a mail server via telnet, here is how you do it.
In order to access your mailbox you will need 2 things:
The first thing to do is to open a connection from your computer to your mail server.
501 firstname.lastname@example.org… Sender domain must exist - The domain that you are sending from must exist 503 Need MAIL before RCPT - A recipient has been specified before a sender. 550 email@example.com… Relaying Denied - The mail server has refused to relay mail for you, this may be for any number of reasons but typical resons include:
Some things to watch out for:
220 mail.example.com ESMTP Service (Lotus Domino Release 8.5.3FP5) ready at Thu, 27 Nov 2014 15:48:55 +0100 HELO domain.com 250 mail.example.com Hello domain.com ([10.238.90.163]), pleased to meet you MAIL FROM: firstname.lastname@example.org 250 email@example.com... Sender OK RCPT TO: firstname.lastname@example.org 250 email@example.com... Recipient OK DATA 354 Enter message, end with "." on a line by itself Subject:Test Body another line . 250 Message accepted for delivery quit 221 mail.example.com SMTP Service closing transmission channel Connection to host lost.