force programs to ask (in consoleor gui#smtpuser none smtppasswdfile 'per your isp set to 'to be asked #smtpuser popusername #(optionalpymailguiname of local one-line text file with your pop passwordif empty or file cannot be readpswd is requested when first connectingpswd not encryptedleave this empty on shared machinespymailcgi always asks for pswd (runs on possibly remote server)#poppasswdfile ' :\temp\pymailgui txtset to 'to be asked #(requiredlocal file where sent messages are always savedpymailgui 'openbutton allows this file to be opened and vieweddon' use form if may be run from another dire pp demos ##sentmailfile \sentmail txtmeans in current working dir #sourcedir ' :\pp \internet\email\pymailgui\#sentmailfile sourcedir 'sentmail txtdetermine automatically from one of my source files import wraplinesos mysourcedir os path dirname(os path abspath(wraplines __file__)sentmailfile os path join(mysourcedir'sentmail txt'#(defunctlocal file where pymail saves pop mail (full text)pymailgui instead asks for name in gui with pop-up dialogalso asks for split directoryand part buttons save in /tempparts##savemailfile ' :\temp\savemail txtnot used in pymailguidialog #(optionalcustomize headers displayed in pymailgui list and view windowslistheaders replaces defaultviewheaders extends itboth must be tuple of stringsor none to use default hdrs#listheaders ('subject''from''date''to'' -mailer'viewheaders ('bcc',#(optionalpymailgui fonts and colors for text server/file message list windowsmessage content view windowsand view window attachment buttonsuse ('family'size'style'for font'colornameor hexstr '#rrggbbfor pymailgui implementation