Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/library/email.message.rst
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,13 @@ message objects.
*content_manager* is not specified, use the ``content_manager`` specified
by the current :mod:`~email.policy`.

Note that this method will append a newline character to the end of the
content, if it wasn't passed already. For example, the following are equivalent ::

msg = EmailMessage()
msg.set_content("hello")
msg.set_content("hello\n")


.. method:: make_related(boundary=None)

Expand Down