koala-framework/koala-framework — pull request #264 by Sogl (2014-11-28 05:15:02+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'),
)
);