Jump to content

Archived

This topic is now archived and is closed to further replies.

420greg

App not picking up email address

Recommended Posts


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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.