Code to send email using telnet.