Welcome Guest, Not a member yet? Register   Sign In
Who was able to use the internal e-mail library?
#1

(This post was last modified: 04-14-2015, 07:17 AM by bbalet.)

Hi,

For one my projects, I parse a view and send it via e-mail (HTML body). It works fine with English.
With French, the subject of the e-mail is correctly escaped. But for the e-mail body, I have to replace accents by HTML entities (é -> é ). It can be OK as the view is still readable and editable.
For non-European languages, this trick doesn't work anymore as I cannot edit the view and replace every glyph by its HTML hexadecimal representation. I mean that the view would not be human readable anymore.

I ended up by using PHPMailer which works fine.

However, I was wondering if anyone was able to use the internal e-mail library with languages having non-latin characters (chinese, russian, arabic, japanese, etc.)? Do you have a code sample to share? An example using a parsed view as the e-mail content would be great.

Thank you in advance
Reply




Theme © iAndrew 2016 - Forum software by © MyBB