EllisLab/CodeIgniter — pull request #1107 by diogoosorio (2012-03-02 17:05:11+00:00)
Title: Fix issue #1080

Check if both the connection and authentication to the SMTP server were successful. If either the connection / authentication failed, skip the attempt o send the email.