Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $headers = "Content-Transfer-Encoding: 8bit\n";
- $headers .= "Content-Type: text/html; charset=UTF-8\n";
- $subject = 'Danish subject test æøå ÆØÅ.';
- $body = "<!DOCTYPE HTML>\n<html>\nDanish subject test <b>æøå</b> ÆØÅ.\n</html>";
- mail('spam@email.com', "=?UTF-8?B?".base64_encode($subject)."?=", $body, $headers);
- ?>
Add Comment
Please, Sign In to add comment