Hi
I am using the following script to send my mail in normal text mode. But I'm trying to send it as an html, Its probably worng but I have inserted :
"MIME-Version: 1.0","Content-type: text/html; charset=iso-8859-1",
and it dont seem to work.
PLease help
Dihan
<?
// Gets the date and time from your server
$date = date("d/m/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address aii
IF ($action != ""):
mail("$femail","Site Recommendation","MIME-Version: 1.0","Content-type: text/html; charset=iso-8859-1",
"
<img src=\"http://wwww.feneo.com/feneo/logo.jpg\" width=\"129\" height=\"200\">
Hello\n
$fname has recommended this site:
http://www.feneo.com
Enjoy
This message was generated at Feneo.com website by $fname $sname
Date/Time: $date",
"FROM:$email");