EllisLab/CodeIgniter — pull request #1025 by mtmcfarl (2012-02-10 03:00:29+00:00)
Title: Fixing TLS issue for sending email to exchange server

Slight tweak to the TLS config parameter. I moved the TLS checking and stream_socket_enable_crypto into the _send_with_smtp method and removed from the _smtp_connect method.

I started with a fresh fork of codeigniter and tested locally on my machine for version differences before making the update. Using the pre-existing smtp_crypto = "tls" didn't work for me. Hence, this patch. This is my first ever pull request so be gentle if I did something wrong in the process.

Best regards