Sending email with "Content-type: multipart/alternative" (with text
and html messages) is also impossible, since when I use attachments it
sets "Content-type: multipart/mixed" and my html message becomes
attachment.
On Jul 15, 12:31 pm, andrei <andre...@gmail.com> wrote:
> If I set "Content-type" header it simply appends it to default "text/
> plain", resulting two "Content-type" headers in the same message.
> eg
> Content-Type: text/plain; charset="utf-8"
> Content-Type: text/html; charset=UTF-8
> And message is treated as text/plain, but i need it to be html.