Re:Inbox.py: SMTP for Humans
by kenneth_reitz on Thursday May 03, 2012 @03:00AM
(#3922720)
Thanks for the feedback :)
The dispatch method is for deferring to cli arguments for external configuration (say, a Procfile).
The constructor is used for defaults.
Also, both the Inbox constructor and the serve() method takes the listening port and address. Now I need to read the source code in order to figure out where I should put the port number and what happens if I put in two different port numbers. (insert appropriate sort of unhappy smiley)
I believe my feedback to Kenneth (if he even sees this) is that this SMTP server can be even simpler.