Troubleshooting Table Events |
4/10/2008 5:46:04 PM |
PHPRunner General questions | |
![]() I wrote a class catalog / registration application w/ PHPR a little while back and it's working great w/ the exception of my table event not sending an email after a record is added. I have racked my brain trying to figure out why this isn't working. It's not hosted on one of my servers so I don't have easy access to check the mail quee to see if the messages are getting hung up there although I have had the server admin that is hosting the site check this for me and he didn't see the messages hung in the quee. |
|
J
|
Jane 4/11/2008 |
Hi, // ** Send simple email **** $email="steph@anurturingtouch.com.com"; $message="New Registration has been made on your website, please login and retrieve their information, http://www.anurturingtouch.com/cms"; $subject="New Registration"; if (mail($email, $subject, $message)) echo "email was sent"; else echo "error"; //** Redirect to another page **** header("Location: http://www.anurturingtouch.com/confirmation.php");;) exit(); |
![]() |
powersitedesign author 4/11/2008 |
Thanks Jane! That did the trick! |