Skip Menu |

This queue is for tickets about the Email-MIME-CreateHTML CPAN distribution.

Report information
The Basics
Id: 39825
Status: resolved
Priority: 0/
Queue: Email-MIME-CreateHTML

People
Owner: Nobody in particular
Requestors: FAGZAL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



I wanted to use Email::MIME::CreateHTML as a substitute for MIME::Lite::HTML as this module creates more standard messages. However, it seems to me that this module does not set the charset of the HTML part (properly). In the case of MIME::Lite::HTML I have the option to set content-type.charset as well as HTMLCharset and TextCharset. Here I found no way to do that... and I got [ Content-Type: text/html; charset="us-ascii" ] for an utf-8 HTML which obviously broke the encoding of the mail. Any ideas for a fix/workaround? Thank you!
Subject: solved
Well, mea culpa. I should have RTFM :( I have found out that this does the trick: body_attributes => {'content_type' => 'text/html', 'charset' => 'utf-8' } I think this can now be closed. Might be nice to see something like this in the docs..