Age | Commit message (Collapse) | Author |
|
This reverts commit f766373271b4d388597f95ef2a55d028fcbca8f1.
|
|
my_email_article_template.txt
exists it will be used, otherwise the default will be used
|
|
have a block for note and only include if there is a note
|
|
|
|
SMTP_SECURE,
which cna have a value of tls, ssl or be empty. This is used for secure SMTP servers.
Also added the ability to have multiple email addresses in the to field. Addresses are
separated by semicolons (;)
|
|
|
|
|
|
|
|
|
|
|
|
Centralized mail handling per post on google + community.
|
|
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.
|
|
force-close db connection in _close()
|
|
|
|
|
|
|
|
|