hi, this the code i have so far
<?
$date = date("l,j F h:i:s");
$headers = "Date: ".$date."\r\n";
$headers .= "From: ".$from."\r\n";
$headers .= "Subject: ".$subject."\r\n";
$headers .= "X-Sender: ".$from."\r\n";
$headers .= "X-Mailer: AOL Communicator Preview Release (20030227.3)\r\n";
$headers .= "Return-Path: ".$from."\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/plain; \tcharset=\"us-ascii\"\r\n";
if(mail($to, $subject, $message, $headers)){
echo "Sent";
}else{
echo "error";
}
?>
this is what i get in the "message" part of the mail(not header).
From: @aol.com
Subject: test
X-Sender: @aol.com
X-Mailer: AOL Communicator Preview Release (20030227.3)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-Id: <E19iryi-0003wX-@..net>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - .**.net
X-AntiAbuse: Original Domain - aol.com
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [ **]
X-AntiAbuse: Sender Address Domain - aol.com
heres a screenshot og what i see in the mail.