Jump to content

App not picking up email address


420greg

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.

Link to comment
https://forums.phpfreaks.com/topic/3937-app-not-picking-up-email-address/
Share on other sites

Archived

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

×
×
  • Create New...

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.