Connecting to a mail server using Telnet is pretty straight forward and can be used both for security testing as well as actual communications. Debugging code and creating communication applications using the mail protocols might require debugging with these tools and below is a sample of how to connect and communicate with a mail server [...]
