Manaus Posted February 13, 2014 Posted February 13, 2014 Hello, I'm releasing an app into the wilderness, so I need to know about errors asap. Is there any code/module to mail the admin when an error/exception occurs? Thank you very much
kongondo Posted February 13, 2014 Posted February 13, 2014 (edited) Check in your site/config.php $config->adminEmail = ''; It notifies on "fatal errors".... Make sure to test that the server environment can send emails, of course... Maybe there is a module about too? I can't remember.. Edited February 13, 2014 by kongondo 1
sozoclive Posted February 13, 2014 Posted February 13, 2014 I have an issue with the mail method on my server. Is there a way to hook into all the native mail functions so that they can be send to a module that i'm building which uses PHPMailer?
kongondo Posted February 13, 2014 Posted February 13, 2014 Welcome to PW sozoclive But we have this... http://processwire.com/talk/topic/3439-idea-and-proof-of-concept-mailer-class/ and... http://processwire.com/talk/topic/335-imap-mailbox-functions-in-flourish/
sozoclive Posted February 14, 2014 Posted February 14, 2014 Thanks guys. I'll take a look over those 2 modules. PW is being looked at as an alternative to our in house CMS and I've just finished the site and will be doing staff training on it later today. 1
Joss Posted February 15, 2014 Posted February 15, 2014 Thanks guys. I'll take a look over those 2 modules. PW is being looked at as an alternative to our in house CMS and I've just finished the site and will be doing staff training on it later today. Let us all know how that goes - sounds interesting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now