diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-11-18 16:57:24 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-11-18 16:57:24 +0100 |
commit | 604873fe068c39c55afa1deaafaf34a95fd3359e (patch) | |
tree | bd447d6107e9d24e4c49673aa492eff0c2eec5a1 /system/libraries | |
parent | b859df894145b8a41609958917cf394fc46b8b10 (diff) |
better error messages for sendmail failure
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Email.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 89d0976ae..99a5ea385 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -1549,8 +1549,9 @@ class CI_Email { $status = $status >> 8 & 0xFF; } - if ($status == 0) + if ($status != 0) { + $this->_set_error_message('email_exit_status', $status); $this->_set_error_message('email_no_socket'); return FALSE; } |