hv@localhost 72% python smtpdemo.py From: hv@cs.mcgill.ca To: hv@cs.mcgill.ca Subject: testing Enter message, end with ^D (Unix) or ^Z (Windows): my text Message length is 98 send: 'ehlo localhost.localdomain\r\n' reply: '250-mail.cs.mcgill.ca\r\n' reply: '250-PIPELINING\r\n' reply: '250-SIZE 62914560\r\n' reply: '250-VRFY\r\n' reply: '250-ETRN\r\n' reply: '250-XVERP\r\n' reply: '250 8BITMIME\r\n' reply: retcode (250); Msg: mail.cs.mcgill.ca PIPELINING SIZE 62914560 VRFY ETRN XVERP 8BITMIME send: 'mail FROM: size=98\r\n' reply: '250 Ok\r\n' reply: retcode (250); Msg: Ok send: 'rcpt TO:\r\n' reply: '250 Ok\r\n' reply: retcode (250); Msg: Ok send: 'data\r\n' reply: '354 End data with .\r\n' reply: retcode (354); Msg: End data with . data: (354, 'End data with .') send: 'From: hv@cs.mcgill.ca\r\nTo: hv@cs.mcgill.ca\r\nSubject: testing\r\nReply-To: hv@cs.mcgill.ca\r\n\r\nmy text\r\n.\r\n' reply: '250 Ok: queued as E8A6E30670\r\n' reply: retcode (250); Msg: Ok: queued as E8A6E30670 data: (250, 'Ok: queued as E8A6E30670') {} send: 'quit\r\n' reply: '221 Bye\r\n' reply: retcode (221); Msg: Bye