Could someone tell me if I am doing this correctly? For some reason, my mailer stops working after a few months. It doesn't get used all that often so, I check it every few months to make sure it works. Here is the script. I have this script working on another site hosted by the same company although most likely hosted on a different server. On the working site, email comes through but, goes into the junk email. Headers from an email on the working site follow the php script. I had a question about this line and was wondering if my mail is getting tagged as spam which is why the mailer stopped working. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report Thanks ahead, Tom <?php // Include email() function. require_once("email.php"); $sender = $_POST['sender']; $to = $_POST['recipient']; $subject = $_POST['subject']; $message = $_POST['body']; $headers = "From: $sender" . "\r\n" . 'Reply-To: tom@xxxxxxxxxxxxxxxxxxxx' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); email($to, $subject, $message, $headers); ?> Email headers from working site -------------------------- X-Message-Status: n:0 X-SID-PRA: cracker@xxxxxxxxxxx X-SID-Result: SoftFail X-Message-Info: 6sSXyD95QpWm7kum4w61gFKZO4sIrBbJzaFAZ1oV0Mo= Received: from server152.serverquality.com ([65.98.55.50]) by bay0-mc2-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Feb 2006 11:52:34 -0800 Received: from nobody by server152.serverquality.com with local (Exim 4.52) id 1F6CPg-0003Cu-MI for sunnrunner@xxxxxxxxxxx; Mon, 06 Feb 2006 14:52:40 -0500 To: sunnrunner@xxxxxxxxxxx Subject: yo from worthwhileindustries.com From: cracker@xxxxxxxxxxx Message-Id: <E1F6CPg-0003Cu-MI@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 06 Feb 2006 14:52:40 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server152.serverquality.com X-AntiAbuse: Original Domain - hotmail.com X-AntiAbuse: Originator/Caller UID/GID - [99 32003] / [47 12] X-AntiAbuse: Sender Address Domain - server152.serverquality.com X-Source: X-Source-Args: /usr/local/apache/bin/httpd -DSSL X-Source-Dir: worthwhileindustries.com:/public_html/bin/php Return-Path: nobody@xxxxxxxxxxxxxxxxxxxxxxxxxxx X-OriginalArrivalTime: 06 Feb 2006 19:52:34.0242 (UTC) FILETIME=[DF6F1A20:01C62B56] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php