let' start off by implementing main page for this example the file shown in example - is primarily used to publish links to the send and view functionspages it is coded as static html filebecause there is nothing to generate on the fly here example - pp \internet\web\pymailcgi\pymailcgi html pymailcgi main page pymailcgi pop/smtp web email interface version june ( january actions viewreplyforwarddelete pop mail send new email message by smtp overview < href="<img src="ppsmall gifalign=left alt="[book cover]border= hspace= this site implements simple web-browser interface to pop/smtp email accounts anyone can send email with this interfacebut for security reasonsyou cannot view email unless you install the scripts with your own email account informationin your own server account directory pymailcgi is implemented as number of python-coded cgi scripts that run on server machine (not your local computer)and generate html to interact with the client/browser see the book programming python th edition for more details notes caveatspymailcgi was initially written during -hour layover at chicago' 'hare airport this release is not nearly as fast or complete as pymailgui ( each click requires an internet transactionthere is no save operation or multithreadingand there is no caching of email headers or already-viewed messageson the other handpymailcgi runs on any web browserwhether you have python (and tkinstalled on your machine or not also note that if you use these scripts to read your own emailpymailcgi does not guarantee security for your account password see the notes in the view action page as well as the book for more information on security policies the root page