mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Resolved 0000580: Send mail by define smtp configuration
Merge branch-1_7 2104:2105 into BSF git-svn-id: http://piwigo.org/svn/trunk@2106 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -285,6 +285,18 @@ $conf['enabled_format_email'] = true;
|
||||
// Value could be text/plain or text/html
|
||||
$conf['default_email_format'] = 'text/html';
|
||||
|
||||
// smtp configuration
|
||||
// (work if fsockopen function is allowed for smtp port)
|
||||
// smtp_host: smtp server host
|
||||
// if null, regular mail function is used
|
||||
// format: hoststring[:port]
|
||||
// exemple: smtp.pwg.net:21
|
||||
// smtp_user/smtp_password: user & password for smtp identication
|
||||
$conf['smtp_host'] = '';
|
||||
$conf['smtp_user'] = '';
|
||||
$conf['smtp_password'] = '';
|
||||
|
||||
|
||||
// check_upgrade_feed: check if there are database upgrade required. Set to
|
||||
// true, a message will strongly encourage you to upgrade your database if
|
||||
// needed.
|
||||
|
||||
Reference in New Issue
Block a user