Jump to content

Email PHP errors


The Little Guy

Recommended Posts

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

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

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.