1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:05:56 +00:00

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.
This commit is contained in:
derekmurawsky
2013-03-22 16:25:12 -04:00
parent 9d9432dab8
commit 1b2afd2bd3
7 changed files with 91 additions and 100 deletions

View File

@@ -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', '');