Page 1 of 1

Behind The Scenes....

Posted: Tue Jul 22, 2014 7:37 pm
by theoscy
Hi,

I have built an email client in python with tkinter, a similar yet more symplistic version of outlook/thunderball. The reason I actually built it was for my A level computing project, my title will be to "model how the SMTP / IMAP protocols work". So when I log into the mail server for reciving email / sending, is there a way to print out what is going on behind the scenes? Hope this makes sense....

To explain further, when you do len('Harry') I would want to print out what the len function is doing. Except in email protocol terms.

Advice/help/examples would be greatley apprechiated.


Oscar

Re: Behind The Scenes....

Posted: Thu Jul 24, 2014 2:16 pm
by AndrewS
https://docs.python.org/2/library/logging.html

And you probably want to have a look at the RFCs http://www.ietf.org/rfc/rfc2821.txt

And maybe packet capture http://www.wireshark.org/