Thanks,
As you probably see, I have submitted a patch also. That one a method in
Email called setCharset(String), calling this method causes the character
set to be set in all subsequent method calls.
I believe that my patch is still valid, even if I did not notice your
changes. For one, HtmlEmail does not use the SimpleEmail code that you
added, and so it was still broken, and also, I believe that it is a bit
clearer to have a specific method to set the character set than having to
use the Criteria class.
Magnus
>
> 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]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]