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. Link to comment https://forums.phpfreaks.com/topic/3937-app-not-picking-up-email-address/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.