Sending email with telnet is really quite easy.
First of all go to START then RUN, from here type telnet (alternativly go to command prompt and type telnet)
When telnet comes up type open mail.XXXXXX.com 25 (Where XXXX is the name of the server ie. Yahoo and 25 the port)
- After this type helo smtp.mail.XXXX.com
push return
you should get a message such as 250...............HELLO
helo xms1 250 XMS1.Corp2003.Corporate.net Hello [192.168.0.150] mail from:bob@demo.com 250 2.1.0 bob@demo.com....Sender OK rcpt to:jfaprea@corp2003.corporate.net 250 2.1.5 jfaprea@corp2003.corporate.net data 354 Start mail input; end with <CRLF>.<CRLF> subject:The subject Helllllo Hellllllllloooo . 250 2.6.0 <XMS1TJPIysqrYFJiQnX00000001@XMS1.Corp2003.Corporate.net> Queued mail for delivery
Details are listed below:
Type mail from:XXXX@XXXX.com (This is the adress you want it to look from) Now type rcpt to:XXXX@XXXX.com (This is who you are sending to)
For the message type data and just write your message here when finished writting press return then press . (The full stop button) and then return again you should now have a message saying message sent or qued.
It's finish !
Another method with the portquery tool from Microsoft :
Run this command :
PortQry.exe -n yourserver.yourdomain.com 92.168.0.150 -p tcp -e 25
It's finish too!
|