commit | ed53bdb02da2a56908f836cafbcaa9cfa2597bad | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Tue Jul 09 02:40:35 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Tue Jul 09 02:40:35 2002 +0000 |
tree | 0ea6053d39a82a8bda3a3e356a9b2825d8ba8f83 | |
parent | 8fa06b55f6ea19bceed122620ae8f93487579de5 [diff] |
__init__(): Be sure to set the default type to message/rfc822.
diff --git a/Lib/email/MIMEMessage.py b/Lib/email/MIMEMessage.py index 8fa86cb..2042dd9 100644 --- a/Lib/email/MIMEMessage.py +++ b/Lib/email/MIMEMessage.py
@@ -28,3 +28,5 @@ # It's convenient to use this base class method. We need to do it # this way or we'll get an exception Message.Message.attach(self, _msg) + # And be sure our default type is set correctly + self.set_default_type('message/rfc822')