the file type for instanceclicking on the txtfile will likely open it in either the browser or text editor in other mailsclicking on jpgfiles may open an image viewerpdfmay open adobe readerand so on figure - shows the result of clicking the pyattachment part of figure - ' message in chrome passing state information in html hidden input fields what you don' see on the view page in figure - is just as important as what you do see we need to defer to example - for coding detailsbut something new is going on here the original message numberas well as the pop user and (still encodedpassword information sent to this script as part of the stateful link' urlwind up being copied into the html used to create this view pageas the values of hidden input fields in the form the hidden field generation code in commonhtml looks like thisprint('urlrootprint('msgnumprint('userfrom page|url print('sitefor deletes print('pswdpswd encoded as we've learnedmuch like parameters in generated hyperlink urlshidden fields in page' html allow us to embed state information inside this web page itself unless you view that page' sourceyou can' see this state information because hidden fields are never displayed but when this form' submit button is clickedhidden field values are automatically transmitted to the next script along with the visible fields on the form the pymailcgi server