From 20ebc37013af02f566d2e1096bd97c43e8ebb257 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 10 Mar 2003 16:13:50 +0000 Subject: [PATCH] Describe what happens when decode=True and the payload has bogus base64 data. --- Doc/lib/emailmessage.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/lib/emailmessage.tex b/Doc/lib/emailmessage.tex index 34c152db9ac..61dc74b255a 100644 --- a/Doc/lib/emailmessage.tex +++ b/Doc/lib/emailmessage.tex @@ -87,9 +87,10 @@ When \code{True} and the message is not a multipart, the payload will be decoded if this header's value is \samp{quoted-printable} or \samp{base64}. If some other encoding is used, or \mailheader{Content-Transfer-Encoding} header is -missing, the payload is returned as-is (undecoded). If the message is -a multipart and the \var{decode} flag is \code{True}, then \code{None} is -returned. The default for \var{decode} is \code{False}. +missing, or if the payload has bogus base64 data, the payload is +returned as-is (undecoded). If the message is a multipart and the +\var{decode} flag is \code{True}, then \code{None} is returned. The +default for \var{decode} is \code{False}. \end{methoddesc} \begin{methoddesc}[Message]{set_payload}{payload\optional{, charset}}