[Python编程(第4版)].(Programming.Python.4th.Edition).Mark.Lutz.文字版
When the Split dialog in Figure 14-20 is submitted, all message parts are saved to the directory you select, and known parts are ...
from which it can be processed and saved (you can also save the main mail text with the Save button in the View window itself). ...
Figure 14-24. View window for a mail with many parts Like much of PyMailGUI’s behavior, the maximum number of part buttons to di ...
Figure 14-25. View window with part buttons setting decreased As a sample of other attachments’ behavior, Figures 14-26 and 14-2 ...
up a simple unformatted display of the mail’s raw text (its full text is downloaded in a thread if it hasn’t yet been fetched an ...
mail I just sent to myself (arguably narcissistic, but demonstrative), the mail composi- tion window shown in Figure 14-29 appea ...
The optional Bcc line, if enabled in the mailconfig module, is prefilled with the sender’s address, too, since it’s often used ...
Luckily, all of this is much easier than it may sound. Python’s standard email module extracts all of the original message’s hea ...
Cc prefill of original recipients done by Reply isn’t performed for forwards, because they are not a continuation of group discu ...
This message went from my machine to a remote email server and was downloaded from there into a Python list from which it is dis ...
addresses in group mail scenarios. Open this version’s mail save file to view this mail’s behavior live, and see the suggested e ...
Figure 14-35. PyMailGUI delete verification on quit By design, no mail is ever removed automatically: you will see the same mess ...
cache). Messages may still be composed during a deletion, however, and offline save files may be processed. POP Message Numbers ...
Figure 14-36. Safe deletion test detection of inbox difference Similarly, both index list loads and individual message fetches r ...
In both synchronization error cases, the mail list is automatically reloaded with the new inbox content by PyMailGUI immediately ...
Figure 14-39. Viewing HTML-only mails Figure 14-38. Viewing text/HTML alternative mails 1054 | Chapter 14: The PyMailGUI Client ...
One caveat here: PyMailGUI can today display HTML in a web browser and extract plain text from it, but it cannot display HTML di ...
Figure 14-41. Raw text of fetched Internationalized mails, headers and body encoded As additional context, Figure 14-42 shows ho ...
from the raw message headers. As we learned in Chapters 9 and 11, the underlying tkinter toolkit generally renders decoded str b ...
Message headers are similarly encoded per UTF-8 if they are non-ASCII when sent, so they will work in the full email text. In fa ...
«
50
51
52
53
54
55
56
57
58
59
»
Free download pdf