![]() |
Send errors via email - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Send errors via email (/showthread.php?tid=1184) |
Send errors via email - Rushty - 02-17-2015 Can anyone tell me how I can get Codeigniter 3 to send details of errors via email. I have found a few examples for older versions none of which work. RE: Send errors via email - gadelat - 02-18-2015 I believe those should still work for CI3. Did it work for you in CI2? If you did not try it in CI2, it's not a problem of CI3, but rather smtp settings. If yes, explain in more detail how it does not work. No errors? RE: Send errors via email - Rushty - 02-18-2015 Not tried in CI2 but others had used it and it worked for them in CI2 but I cant find any code for CI3. I have now tried various examples but none worked so far, the latest code below looks to be o.k. but is giving an error 'Notice: Trying to get property of non-object' when trying to load the config but I cant figure out why. PHP Code: class MY_Exceptions extends CI_Exceptions { |