Stefan Ram <r...@zedat.fu-berlin.de> wrote: > Chris Green <c...@isbd.net> writes: > >I thought MaildirMessage inherited from email.message, > > It inherits from mailbox.Message which inherits from > email.message.Message which has no "get_body" method. > So the documentation at:- https://docs.python.org/3/library/email.message.html
is very confusing then. It has a get_body method listed in the email.message.EmailMessage class. Where is email.message.Message documented? > email.message.MIMEPart has a get_body method. > > Also check out: get_payload. > > -- Chris Green ยท -- https://mail.python.org/mailman/listinfo/python-list