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:
rub
2007-09-25 21:52:00 +00:00
parent 1a55452a4f
commit 08bc6015a7
3 changed files with 428 additions and 240 deletions
+12
View File
@@ -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.