I would like to be able to send e-mails with PHP mail() containing the 8-bit characters åäö. They will be used in the subject, the message and in the \"From:\"-header. How c
$headers = array('From' => $from, 'To' => "<$to>", 'Subject' => $subject); if ($is_html) { $headers['Content-type'] = "text/html; charset=UTF-8"; } else { $headers['Content-type'] = "text/plain; charset=UTF-8"; }
This works for me