The Little Guy Posted January 20, 2010 Share Posted January 20, 2010 How can I email myself error messages? I have a script that runs on the server that processes piped emails, I am having a problem with it not working, I think there are runtime errors in the code, but I am not sure because I cannot see the error messages. They are not stored in a log file so I can not look at that. What I need to do, is send myself errors via email. anyone know how I can do that? Quote Link to comment Share on other sites More sharing options...
schilly Posted January 20, 2010 Share Posted January 20, 2010 when I set up email piping to a php script, I tested with the piping file in an directory in httpdocs first so I could load up the script and see if there was any syntax/runtime errors. I also put a lot of mail() fns to see exactly where the script was going. hope this helps. Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted January 20, 2010 Author Share Posted January 20, 2010 Thanks! I was doing the mail thing too... But, come to find out my messages weren't even being sent I was getting a message saying "you can't send mail to this email address" Works now though! 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.