and currently lacks the source-file opening button of the text display version (one reason
you may wish to display the text viewer, too). HTML help is captured in Figure 14-4.
When a message is selected for viewing in the mail list window by a mouse click and
View press, PyMailGUI downloads its full text (if it has not yet been downloaded in
this session), and a formatted email viewer window appears, as captured in Fig-
ure 14-5 for an existing message in my account’s inbox.
View windows are built in response to actions in list windows and take the following
form:
- The top portion consists of action buttons (Part to list all message parts, Split to
save and open parts using a selected directory, and Cancel to close this nonmodal
window), along with a section for displaying email header lines (From, To, and
so on). - In the middle, a row of quick-access buttons for opening message parts, including
attachments, appears. When clicked, PyMailGUI opens known and generally safe
parts according to their type. Media types may open in a web browser or image
viewer, text parts in PyEdit, HTML in a web browser, Windows document types
per the Windows Registry, and so on.
Figure 14-3. PyMailGUI text help source code viewer window
A PyMailGUI Demo| 1023