theoscy
Posts: 44
Joined: Fri Apr 05, 2013 10:42 pm

Behind The Scenes....

Tue Jul 22, 2014 7:37 pm

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
You could say my love for Linux is terminal ;)

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Behind The Scenes....

Thu Jul 24, 2014 2:16 pm

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/

Return to “Python”