420greg Posted March 2, 2006 Share Posted March 2, 2006 I have an internal application that tracks a petition process for my office.One of the functions sends and email to the property appraiser that was assigned to review the petition.It has worked for the past 3 years, but for some reason this year The emails are getting kicked back to me with a no receipient error. The 'To:' field is blank.[code] $selectSQL="SELECT * from Appraisers where Name='$appraiser'"; $em=mysql_fetch_object(db_query($selectSQL)); $emailapp=$em->Email; $emailsubject="You have been assigned petition # ".$PetitionNumber; $emailmess=" Link:\n /vab2006/lookup.php?petid=".$PetitionNumber; mail($emailapp, $emailsubject, $emailmess); mail($emailadressapp, $emailsubject, $emailmess); $emailsubject="Petiton No.".$PetitionNumber." has been updated"; $emailmess=" Link:\n /vab2006/lookup.php?petid=".$PetitionNumber; mail($emailadresscompt, $emailsubject, $emailmess); header ("Location:property.php?Ok=1&pet=$PetitionNumber");[/code]Any ideas?? I am stumped. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.