2014-11-18

Sending email via mail function in base64

$messsage = base64_encode($message);
$send = mail($address, "=?utf-8?B?".base64_encode($subject)."?=", $message, "Content-type:text/plain; charset=UTF-8\r\nContent-Transfer-Encoding: base64");

No comments:

Post a Comment