var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Sending emails from PHP as HTML.
I have a quick Question about this.
To send an email from php using the mail() funtion, is there any special headers or anything that i need to do to make sure that the email is sent as html.
I kept trying to send myself a test email with html and it would actually print the html out as the message and the place is capable of reading html emails.
Any help? thx.
Try adding this to your message function:
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
Post your script if your still having problems. I'll be glad to help.
very helpful thanx for that