Add an option to disable the use of REMOTE_USER
Définition de l'option USE_REMOTE_USER
Fix encoding for To and Subject headers
Make it work if To is only an address
Fix encoding of the From header
Syntax error
Fix names with accents in the user mail
Always decode HTML entities
Add a missing parenthesis
Merge remote-tracking branch 'upstream/framasoft' into fix_email_encoding
Merge remote-tracking branch 'upstream/framasoft' into optional_REMOTE_USER
Headers separation fix

Fix the header separating character (needs to be \r\n).
Merge header creation with sendEmail.
Add some missing semicolon
Header encoding done with std functions
Fix the mb_encode_mimeheader call syntax
Another syntax fix
Force multibyte functions internal encoding
Replace CRLF in headers by LF
Fix last header line size calculation

The "From: " prefix size was not taken into accounts when
calculating how many characters were on the last header line
produced by mb_encode_mimeheader.

This is used to check if the e-mail address should be
placed on a separate line.
Merge pull request #46 from fevrier/fix_email_encoding

Fix email encoding