[issue30706] EmailMessage Object Creation

2017-06-26 Thread R. David Murray
R. David Murray added the comment: Given that there hasn't been any response that would help us improve the docs on this, I'm going to close the issue. I hope you've figured out how to do what you want to do! -- resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue30706] EmailMessage Object Creation

2017-06-19 Thread R. David Murray
R. David Murray added the comment: This isn't the place to get help on Python coding, but since this is a relatively new API I'll give you a pointer, and then you can tell me where the docs need improvement :) If you do message_from_string(yourstring, policy=email.policy.default), you should

[issue30706] EmailMessage Object Creation

2017-06-19 Thread Michael Salsone
New submission from Michael Salsone: I am looking to use the get_body() method from email.message.EmailMessage, but I am unable to create an object of this type. I am attempting to create an object of this from message_from_string (as well as some of the other email.parser methods). But it won