PHP Email utf8 not accepted -


i having problem sending emails php. when send email looks not accept utf-8 :

&auml ;ccount

when use var_dump on variable says äccount, in mail going wrong.

here code use headers :

  $headers = 'from: ' . $send_from. "\r\n";   $headers .= "mime-version: 1.0" . "\r\n";   $headers .= "content-type:text/html charset=utf-8" . "\r\n"; 

thanks in forehand :)

you appear have space between &auml , ;. remove , html should display correctly.


Comments