Magnús Ţór Torfason wrote:
> The second problem is that if I include any of my wonderful Icelandic
> characters, the message is not displayed at all, but only an error message,
> complaining over the charset:
>
> -------
> This message uses a character set that is not supported by the Internet
> Service. To view the original message content, open the attached message.
> If the text doesn't display correctly, save the attachment to disk, and then
> open it using a viewer that can display the original character set.
> -------
>
> Is there any way to fiddle with the charset using the HtmlEmail class?
I don't know much about Email stuff in turbine, but one of my coworkers
used SimpleEmail class, and I commited some changes to Email/SimpleEmail
classes
for him to fix the problem you're talking about.
we use the following to make Polish (Latin2) characters work.
Criteria msg = new Criteria();
msg.put(Email.CONTENT_TYPE, "text/html; charset=ISO-8859-2");
msg.put(Email.RECEIVER_EMAIL, "...");
...
msg.setMsg(body);
msg.send();
I hope this is usefull for you.
Rafal
--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]