![]() |
Show email errors - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Show email errors (/showthread.php?tid=76931) |
Show email errors - Ceo - 07-04-2020 How do I view the particular error when trying to send an email. The email->send() only returns boolean and thus I cannot catch an exception Any help? RE: Show email errors - Leo - 07-06-2020 (07-04-2020, 03:16 PM)Ceo Wrote: How do I view the particular error when trying to send an email.Try setting $threshold (in app/Config/Logger.php) to 8 or 9 and dig through it. Also you can do custom tests with log_message('notice', $is_your_tested_variable_correct_or_not) if your $threshold is at 6. |