I've noticed that my test email isn't always sent. Then I checked my mailbox on my host and found 19 notices:
Subject: Mail failure - no recipient addresses
From: "Mail Delivery System" <Mailer-Daemon@server1.host.net>
Date: Sun, July 27, 2003 2:51 am
To: admin@doof.us
Priority: Normal
A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.
All I'm doing is testing my tell-a-friend which simply posts from a form page to the mailer.php...but, as stated above, it doesn't always post the email recipient's address.
Is there a way to back this up to make sure the users email address variable is always posted into mail($email,$subject,$message,$headers); because it seems to be failing fairly frequently.
Thanks