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? Link to comment https://forums.phpfreaks.com/topic/189203-email-php-errors/ 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. Link to comment https://forums.phpfreaks.com/topic/189203-email-php-errors/#findComment-998905 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! Link to comment https://forums.phpfreaks.com/topic/189203-email-php-errors/#findComment-998934 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.