Reputation: 11
i have problem in mail()
function
i can't send html in mail()
function via ( php )
i use this statment:
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
Upvotes: 1
Views: 62
Reputation:
You must specify Content-Type: multipart/mixed
in your email headers for alternate message content types.
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: multipart/mixed; "\n\n";
Upvotes: 2