koala-framework/koala-framework — pull request #263 by Sogl (2014-11-25 23:34:33+00:00)
Title: Add more options to smtp

The default settings is not enough to work with Exchange server.

Please add port and ttl setting to Mail.php.

My example:

$transport = new Zend_Mail_Transport_Smtp(
Kwf_Config::getValue('email.smtp.host'),
array(
'auth' => Kwf_Config::getValue('email.smtp.auth'),
'username' => Kwf_Config::getValue('email.smtp.username'),
'password' => Kwf_Config::getValue('email.smtp.password'),
//new
'ssl' => Kwf_Config::getValue('email.smtp.ssl'),
'port' => Kwf_Config::getValue('email.smtp.port'),
)
);