Hi, I've been working on this for hours.
I'm trying to send a confirmation email when a user addsa a record to a database. All is well with the database, but when the email arrives, all the HTML tags can be seen.
I have used this format for the headers:
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .="From:webmaster@blackboardjungle.co.uk \r\n";
At the top of the email body, there are the following ugly headers:
Content-type: text/html; charset=iso-8859-1
From: webmaster@blackboardjungle.co.uk
Message-Id: (edited)
Date: Sat, 22 Mar 2003 17:49:35 +0000
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - (edited)
X-AntiAbuse: Original Domain - (edited)
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [99 99]
X-AntiAbuse: Sender Address Domain - (edited)
Could it be a problem with my server? Or is it something wrong with my code?