mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 15:32:54 +01:00
Issue #57 - fix for SMTP not working for servers that don't require authentication.
This commit is contained in:
parent
8449c39991
commit
08a9027947
@ -55,8 +55,8 @@
|
||||
###
|
||||
|
||||
$SMTP['host'] = getenv('SMTP_HOSTNAME');
|
||||
$SMTP['user'] = getenv('SMTP_USERNAME');
|
||||
$SMTP['pass'] = getenv('SMTP_PASSWORD');
|
||||
$SMTP['user'] = (getenv('SMTP_USERNAME') ? getenv('SMTP_USERNAME') : NULL);
|
||||
$SMTP['pass'] = (getenv('SMTP_PASSWORD') ? getenv('SMTP_PASSWORD') : NULL);
|
||||
$SMTP['port'] = (getenv('SMTP_HOST_PORT') ? getenv('SMTP_HOST_PORT') : 25);
|
||||
$SMTP['tls'] = ((strcasecmp(getenv('SMTP_USE_TLS'),'TRUE') == 0) ? TRUE : FALSE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user