[Python编程(第4版)].(Programming.Python.4th.Edition).Mark.Lutz.文字版
entire PyMailGUI session to decode fetched message bytes to the required str text prior to parsing, and to save and load full me ...
Operationally, PyMailGUI runs as a set of parallel threads, which may overlap in time: one for each active server transfer, and ...
PyMailGUI’s list windows, such as the one in Figure 14-1, display mail header details in fixed-width columns, up to a maximum si ...
an HTML rendition of this text in a spawned web browser is also available, but simple text is sufficient for many people’s taste ...
and currently lacks the source-file opening button of the text display version (one reason you may wish to display the text view ...
The bulk of this window (its entire lower portion) is just another reuse of the TextEditor class object of the PyEdit program w ...
source-code viewing (we saw the latter in Figure 14-3). For mail view components, PyMailGUI customizes PyEdit text fonts and col ...
account parameters from the mailconfig module listed later in this chapter, so be sure to change this file to reflect your email ...
Also notice that the local file password option requires you to store your password unencrypted in a file on the local client co ...
GUI itself—the GUI responds to moves, redraws, and resizes during the transfers. Other transfers such as mail deletes must run a ...
Threading model implementation On nearly every platform, though, long-running tasks like mail fetches and sends are spawned off ...
Operations such as individual sends and views that are largely independent can overlap broadly, but deletions and mail header fe ...
loaded; if you really want to not see an email on a later load, you must explicitly delete it. Entries in the main list show jus ...
Figure 14-12. Save mail selection dialog To view saved emails later, select the Open action at the bottom of any list window and ...
For example, View opens the selected message in a normal mail view window identical to that in Figure 14-5, but the mail origina ...
Figure 14-14. PyMailGUI write-mail compose window This window is much like the message view window we saw in Figure 14-5, except ...
illustration purposes. New in this version, PyMailGUI also prefills the Bcc header with the sender’s own address if this header ...
Since I sent the earlier message to myself, it shows up in mine the next time I press the main window’s Load button, as we see i ...
If you look back to the last main window shot, you’ll notice that there is only one new email now—PyMailGUI is smart enough to d ...
Any other parts of the message attached are displayed and opened with quick-access buttons in the middle. They are also listed b ...
«
49
50
51
52
53
54
55
56
57
58
»
Free download pdf