Hi,
I'm having a problem with sending html mail from a form. I get an error:
Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE.
The 5th parameter is $mailheaders.
This is the related code:
I've searched high and low, but can't seem to come up with the right fix.
Can anyone help?
Thanks,
I'm having a problem with sending html mail from a form. I get an error:
Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE.
The 5th parameter is $mailheaders.
This is the related code:
Code:
$mailheaders = "MIME-Version: 1.0\n";
$mailheaders .= "Content-type: text/html; charset=iso-8859-1";
mail($to,$subject,$body,$tfrom,$mailheaders);
I've searched high and low, but can't seem to come up with the right fix.
Can anyone help?
Thanks,