Merge pull request #668 from guyzmo/z-push-smtp-fix

Fixing issue making it impossible to send mail from Z-Push
This commit is contained in:
Joshua Tauberer 2016-01-09 08:41:59 -05:00
commit 413af1fe67
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ define('IMAP_FROM_LDAP_QUERY', '(mail=#username@#domain)');
define('IMAP_FROM_LDAP_FIELDS', serialize(array('givenname', 'sn', 'mail')));
define('IMAP_FROM_LDAP_FROM', '#givenname #sn <#mail>');
define('IMAP_SMTP_METHOD', 'sendmail');
global $imap_smtp_params;
$imap_smtp_params = array('host' => 'ssl://localhost', 'port' => 587, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password');