Commit graph

6 commits

Author SHA1 Message Date
Rasmus Lerdorf
6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov
4f032700db ttrssMailer: actually use OOP properly 2013-04-16 16:50:22 +04:00
Andrew Dolgov
90df27a4c1 ttrssMailer: fix typo 2013-04-16 16:43:15 +04:00
Andrew Dolgov
b9863a153c unify SMTP_HOST and SMTP_PORT as SMTP_SERVER 2013-04-16 16:40:04 +04:00
Andrew Dolgov
68fb3c955a update reset user password to use ttrssMailer 2013-03-23 09:20:16 +04:00
derekmurawsky
1b2afd2bd3 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.
2013-03-22 16:25:12 -04:00