You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to generate an email with a body and an attachment where each uses a different Content-Transfer-Encoding. Is this possible? It seems that each message part takes the value for the Content-Transfer-Encoding from the Message object's value for encoding, and are not independently settable.
Specifically, I want the body to have a Content-Type of "text/plain; format=flowed" with a Content-Transfer-Encoding of "8bit", and the attachment to have a Content-Type of "text/html" but with a Content-Transfer-Encoding of "quoted-printable". (I'd rather not have the format=flowed text be encoded as quoted-printable, since RFC 3676 says that it "should not" be so.)
I'm fine with manually encoding the data I give to SetBody and AddAlternative as 8bit and quoted-printable, respectively; I just need to be able set the Content-Transfer-Encoding on a per-part basis.
Is there a way to do that now? If not, does it seem like a reasonable thing to be able to do?
Thanks for any help.
The text was updated successfully, but these errors were encountered:
I'd like to generate an email with a body and an attachment where each uses a different Content-Transfer-Encoding. Is this possible? It seems that each message part takes the value for the Content-Transfer-Encoding from the
Message
object's value forencoding
, and are not independently settable.Specifically, I want the body to have a Content-Type of "text/plain; format=flowed" with a Content-Transfer-Encoding of "8bit", and the attachment to have a Content-Type of "text/html" but with a Content-Transfer-Encoding of "quoted-printable". (I'd rather not have the format=flowed text be encoded as quoted-printable, since RFC 3676 says that it "should not" be so.)
I'm fine with manually encoding the data I give to
SetBody
andAddAlternative
as 8bit and quoted-printable, respectively; I just need to be able set the Content-Transfer-Encoding on a per-part basis.Is there a way to do that now? If not, does it seem like a reasonable thing to be able to do?
Thanks for any help.
The text was updated successfully, but these errors were encountered: