View Single Post
12-12-2006, 11:12 PM
#9
patrickPaul is offline patrickPaul
Status:
Join date: Dec 2004
Location: California, US
Expertise:
Software:
 
Posts: 406
iTrader: 1 / 100%
 

patrickPaul is on a distinguished road

Send a message via AIM to patrickPaul Send a message via MSN to patrickPaul Send a message via Yahoo to patrickPaul

  Old

Just so you know you might want to add some headers so it is less likely to be flagged as spam...

PHP Code:
    $headers  "MIME-Version: 1.0\n";
    
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
    
$headers .= "X-Priority: 3\n";
    
$headers .= "X-MSMail-Priority: Normal\n";
    
$headers .= "X-Mailer: php\n";
    
$headers .= "From: Your Site <noreply@yoursite.com>\n";
    
    
mail($to,$subject$body,$headers); 

Add the $headers section and change the mail() function to the one above.

Regards,
Patrick