Otherwise type DATA and then type your message, finishing with a dot on a line by itself and a final carriage return. If you don’t want to actually send a mail, because you haven’t told the recipient that you are doing testing, then now is the time to quit with the regular telnet interrupt [
HOW TO USE TELNET TO SEND ME AN EMAIL WITH REPLY TO FIELD CODE
RCPT TO: you get a code 250 here you have shown that it is possible to send an email as this user to that address through your mail gateway, at this particular moment in time at least. Now type RCPT TO: and the address you are trying to send to: MAIL FROM: the gateway should respond with code 250. Next type MAIL FROM: and the address of the user who is trying to send: The gateway should respond with code 250. Now type HELO and the domain name you are trying to send from The mail gateway should respond with code 220 and some welcome message. Look up the MX record for the recipients domain using nslookup or Now launch a telnet session to that address on port 25: Now read on …įirst look up where you are going to send the email to. You need to try and work out where the problem is - what you’ve got to do is try and send email to that address through a telnet session with their mail system.
So, you have to administer some sort of mail system and some user is saying that they can’t send email to some address.