summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorderekmurawsky <[email protected]>2013-03-22 16:25:12 -0400
committerderekmurawsky <[email protected]>2013-03-22 16:25:12 -0400
commit1b2afd2bd3dc19cdd36da47cc52040a83cdb3b68 (patch)
tree286d5b99c3a895d2f756fae5c17a55122ee7a7f0 /config.php-dist
parent9d9432dab87e3887e4f482ac5afff1586530c692 (diff)
Additions:
classes/trssmailer.php - Created class TTRSS mailer which extends phpmailer and sets the default mail settings upon instantiation. Class includes quickmail function that allows for a quick email send with no extra configurion necessary. Changes: config.php-dist - Added the smtp port option include/digest.php - Converted it to use the new ttrrssmailer class include/sanity_config.php - Added the smtp port option to the sanity check plugins/mail/init.php - Modified to use ttrssmailer class. This particular configuration shows a hybrid use case. register.php = Modified to use ttrssmailer class. All code was tested and functioned on my local machine.
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.php-dist b/config.php-dist
index a5a7fc3e2..192cb15f9 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -156,6 +156,9 @@
define('SMTP_HOST', '');
// SMTP Host to send outgoing mail. Blank - use system MTA.
+
+ define('SMTP_PORT','');
+ // SMTP port to sent outgoing mail. Default is 25.
define('SMTP_LOGIN', '');
define('SMTP_PASSWORD', '');