-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hy..
I'm using vimbadmin, which in turn uses OSS-Framework.
There is a little problem with your mailer class, it doesn't allow setting the port or tls for sending mail, take a look on zend's "Securing SMTP Transport" documentation (http://framework.zend.com/manual/1.12/en/zend.mail.smtp-secure.html)
I would suggest changing the file https://github.com/opensolutions/OSS-Framework/blob/master/src/OSS/Resource/Mailer.php to something like this:
if( isset( $options['auth'] ) )
{
$config = array(
'auth' => $options['auth'],
'username' => $options['username'],
'password' => $options['password']
);
if( isset( $options['ssl'] ) )
$config['ssl'] = $options['ssl'];
if( isset( $options['port'] ) )
$config['port'] = $options['port'];
}
else
$config = array();Metadata
Metadata
Assignees
Labels
No labels