Shaked Klein Orbach echo 'Just smile';

21Jan/120

Zend Framework, Gmail, SMTP and SSL

Posted by Shaked

Topic says everything, isn't it?

Description

I had a problem sending emails while using Zend Framework with Gmail account. So I had to handle different types of errors:

  • "Unable to connect via TLS" - being created by Zend Framework Exception.
  • "Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?" - PHP built in error message

Suggestions