Skip to content

Commit d822e9d

Browse files
committed
add a bit to the IMAP message reading slide
1 parent 259b714 commit d822e9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/presentations/session02.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,11 @@ Once we have that, we can play with the resulting email object:
479479

480480
::
481481

482-
>>> msg['to']
482+
>>> msg.keys()
483+
['Return-Path', 'X-Original-To', 'Delivered-To', 'Received',
484+
...
485+
'To', 'Mime-Version', 'X-Mailer']
486+
>>> msg['To']
483487
484488
>>> print msg.get_payload()
485489
If you are reading this email, ...

0 commit comments

Comments
 (0)