I've heard that we can communicate with some mail servers via telnet.
ther are commands like HELO, MAIL FROM:, DATA , etc.
From where can I know more about communicating with different types of servers ??.

*Is telnet'ing to a mail server of hotmail and sending a forged email illegal ??

Thanx.