listand they remain encoded in urls and hidden form fields thereafter but you shouldn' use url like thisunless you don' care about exposing your email password sending your unencrypted mail user id and password strings across the net in url such as this is unsafe and open to interception in factit' like giving away your email--anyone who intercepts this url or views it in server logfile will have complete access to your email account it is made even more treacherous by the fact that this url format appears in book that will be distributed all around the world if you care about security and want to use pymailcgi on remote serverinstall it on your server and configure mailconfig and secret that should at least guarantee that both your user and password information will never be transmitted unencrypted in single transaction this scheme still may not be foolproofso be careful out there without secure http and socketsthe internet is "use at your own riskmedium the message view page back to our page flowat this pointwe are still viewing the message selection list in figure - when we click on one of its generated hyperlinksthe stateful url invokes the script in example - on the serversending the selected message number and mail account information (userpasswordand siteas parameters on the end of the script' url example - pp \internet\web\pymailcgi\cgi-bin\onviewlistlink py #!/usr/bin/python ""###############################################################################on user click of message link in main selection listmake mail view pagecgi fieldstorage undoes any urllib parse escapes in link' input parameters (%xx and '+for spaces already undone)in we only fetch mail herenot the entire list againin we also find mail' main text part intelligently instead of blindly displaying full text (with any attachments)and we generate links to attachment files saved on the serversaved attachment files only work for user and messagemost enhancements inherited from mailtools pkg mailtools decodes the message' full-text bytes prior to email parsing for displaymailtools decodes main textcommonhtml decodes message hdrs###############################################################################""import cgi import commonhtmlsecret from externs import mailtools #commonhtml dumpstatepage( reading pop email