aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-09-25 21:49:21 +0000
committerrub <rub@piwigo.org>2007-09-25 21:49:21 +0000
commitf1f4e4386cf1f0e1127c3378037d261401e99246 (patch)
tree239056e693c0919d1489ba58517a62b41a91c586 /include/config_default.inc.php
parent7a267ee7f06a7f2e3742e87ba087ec03a9ed7089 (diff)
Resolved 0000580: Send mail by define smtp configuration
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2105 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/config_default.inc.php')
-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 cc949f7b2..815b6a06b 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -278,6 +278,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.