Subject =>Among our weapons are these
7: 3248 bytes
From =>[email protected]
To =>[email protected]
Date =>Sat, 08 May 2010 19:26:22 −0000
Subject =>testing mailtools package
[Pymail] Action? (i, l, d, s, m, q, ?) l 7
load 7
Connecting...
b'+OK <[email protected]>'
-------------------------------------------------------------------------------
Here is my source code
-------------------------------------------------------------------------------
[Pymail] Action? (i, l, d, s, m, q, ?) d 7
[Pymail] Action? (i, l, d, s, m, q, ?) m
From? [email protected]
To? [email protected]
Subj? test pymail2 send
Type message text, end with line="."
Run away! Run away!
.
Sending to...['[email protected]']
From: [email protected]
To: [email protected]
Subject: test pymail2 send
Date: Sat, 08 May 2010 19:44:25 −0000
Run away! Run away!
Send exit
[Pymail] Action? (i, l, d, s, m, q, ?) q
To be deleted: [7]
Delete?y
Deleting messages from server...
deleting mails
Connecting...
b'+OK <[email protected]>'
The messages in our mailbox have quite a few origins now—ISP webmail clients, basic
SMTP scripts, the Python interactive command line, mailtools self-test code, and two
console-based email clients; in later chapters, we’ll add even more. All their mails look
the same to our script; here’s a verification of the email we just sent (the second fetch
finds it already in-cache):
C:\...\PP4E\Internet\Email> pymail2.py
user: [email protected]
loading headers
Connecting...
...more lines omitted...
[Press Enter key]
6: 1037 bytes
From =>[email protected]
To =>[email protected]
990 | Chapter 13: Client-Side Scripting