Commit ed53bdb0 authored by Barry Warsaw's avatar Barry Warsaw

__init__(): Be sure to set the default type to message/rfc822.

parent 8fa06b55
......@@ -28,3 +28,5 @@ class MIMEMessage(MIMENonMultipart):
# 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')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment