We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b05df57 commit 482c5f7Copy full SHA for 482c5f7
Lib/email/Message.py
@@ -102,6 +102,10 @@ def as_string(self, unixfrom=False):
102
"""Return the entire formatted message as a string.
103
Optional `unixfrom' when True, means include the Unix From_ envelope
104
header.
105
+
106
+ This is a convenience method and may not generate the message exactly
107
+ as you intend. For more flexibility, use the flatten() method of a
108
+ Generator instance.
109
"""
110
from email.Generator import Generator
111
fp = StringIO()
0 commit comments