Conifgure email settings through user interface

This commit is contained in:
Frederic Guillot
2016-06-05 14:53:46 -04:00
parent a08339059b
commit cd4c09c10a
35 changed files with 213 additions and 82 deletions

View File

@@ -62,4 +62,21 @@ class MailHelper extends Base
return MAIL_FROM;
}
/**
* Get mail sender address
*
* @access public
* @return string
*/
public function getMailTransport()
{
$transport = $this->configModel->get('mail_transport');
if (!empty($transport)) {
return $transport;
}
return MAIL_TRANSPORT;
}
}