Manaus Posted February 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
kongondo Posted February 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
sozoclive Posted February 13, 2014 Share 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? Link to comment Share on other sites More sharing options...
Soma Posted February 13, 2014 Share Posted February 13, 2014 Nope. Link to comment Share on other sites More sharing options...
kongondo Posted February 13, 2014 Share 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/ Link to comment Share on other sites More sharing options...
sozoclive Posted February 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
Joss Posted February 15, 2014 Share 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. Link to comment Share on other sites More sharing options...
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