I use mail() for a musician's mailing list script that suddenly started
having problems after many months of working flawlessly. The code fragment
is:
if (mail($To,$Subj ect,$Body,$Head ers,$Param))
{
print("The message was sent to:<p>$HTML_BCC <br><hr><h3>Com pleted
OK</h3><p>\n");
}
else
{
print("<font color=\"#ccff66 \">There was a problem and the
message was probably not sent.</font><br>\n");
}
How can I find out what is causing the error? I thought there were
built-in error number and error description messages, but a search of the
manual at php.net does not come up with anything.
Pierre
--
Pierre Jelenc | H o m e O f f i c e R e c o r d s
| * Ethan Lipton * Marwood * The Cucumbers *
T h e G i g o m e t e r | * Switchblade Kittens * Pawnshop *
www.thegigometer.com | www.homeofficerecords.com
Comment