SMTP mailer plugin for tt-rss based on PHPMailer

fox 1f9daa1b78 Merge branch 'bump-phpmailer' of Ezwen/ttrss-mailer-smtp into master 4 months ago
vendor bfc8908824 Upgrade PHPMailer to 6.1.5 4 months ago 09de83dd83 Update README to describe SMTP_CA_FILE 1 year ago
init.php 6019723c9f Add option to set a custom CA certificate 1 year ago

Warning: this plugin uses PHPMailer which is a library with regularly discovered vulnerabilities. Use at your own risk.


  1. Git clone plugin to tt-rss/plugins.local/mailer_smtp
  2. Enable in config.php directive PLUGINS (this is a system plugin, it can't be enabled per-user).
  3. Add the following to config.php:

    	define('SMTP_SERVER', '');
    	// Hostname:port combination to send outgoing mail (i.e. localhost:25).
    	// Blank - use system MTA.
    	define('SMTP_LOGIN', '');
    	define('SMTP_PASSWORD', '');
    	// These two options enable SMTP authentication when sending
    	// outgoing mail. Only used with SMTP_SERVER.
    	define('SMTP_SECURE', '');
    	// Used to select a secure SMTP connection. Allowed values: ssl, tls,
    	// or empty.
    	define('SMTP_SKIP_CERT_CHECKS', false);
    	// Accept all SSL certificates, use with caution.
    	define('SMTP_CA_FILE', '/path/to/ca.crt');
    	// Use a custom CA certificate for SSL/TLS secure connections.
    	// Only used if SMTP_SKIP_CERT_CHECKS is false.

At least SMTP_SERVER needs to set for plugin to work.