aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-09-25 21:52:00 +0000
committerrub <rub@piwigo.org>2007-09-25 21:52:00 +0000
commit08bc6015a702b92166f4380ea87823d42f883933 (patch)
tree850aeb393427981b14ee7d86ff32efb0895a8160 /include/config_default.inc.php
parent1a55452a4fdcf5b72a327736687a2d283bba1876 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 6b6e09072..3a178ea7a 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -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.