Forum Moderators: phranque
Could you tell me what is the best option. Compatibility seems to be the main issue since emails should be the same on Yahoo, Gmail, Outlook and Lotus note.
Thank you
I note that the PHP PEAR mime class uses 7bit encoding for plain text and quoted-printable for HTML by default. I haven't hit the RFC's yet to research any further but assume you have? If you have the time to share more information on how you reached your decision I would be interested.
I changed my mind and decided to go for
Content-Type: text/plain; charset="utf-8";
Content-Transfer-Encoding: 8bit
I am really not familiar with email so I can't really tell you why I have decided to use this one against quotable print. In fact, I was hoping to get some feedbacks here...
I had to say that I really struggled yesterday with special characters - for some special characters it works fine while for others it returns a blank email?.
Another main issue I had is that when a line in the textarea ends with ' or ", I get a blank email!
So, after a day of testing, I was very tired and decided to ban special characters (using regex)...
Sorry, can't tell you more but I am still working on it (I have five heavy forms to complete) and will report back if needed.
Thanks
Tomda