Warn about a tricky piece of code in addmessageheader
As requested by Nicholas Sebrecht. Signed-off-by: Abdo Roig-Maranges <abdo.roig@gmail.com>
This commit is contained in:
parent
2a5ef8c2ef
commit
e70607e3e3
@ -401,6 +401,9 @@ class BaseFolder(object):
|
|||||||
"""
|
"""
|
||||||
Adds new header to the provided message.
|
Adds new header to the provided message.
|
||||||
|
|
||||||
|
WARNING: This function is a bit tricky, and modifying it in the wrong way,
|
||||||
|
may easily lead to data-loss.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
- content: message content, headers and body as a single string
|
- content: message content, headers and body as a single string
|
||||||
- linebreak: string that carries line ending
|
- linebreak: string that carries line ending
|
||||||
|
Loading…
Reference in New Issue
Block a user