summaryrefslogtreecommitdiff
path: root/README.md
blob: 30e13a557d8fd7c26dbe3e44a13526b8678866fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Installation

1. Git clone plugin to tt-rss/plugins.local/mailer_smtp
2. Enable via `TTRSS_PLUGINS` global configuration setting (this is a system plugin, it can't be enabled per-user).
3. Set the following plugin settings via `.env` or `putenv()` in `config.php`:

	- `TTRSS_SMTP_SERVER` - Send outgoing mail via this server (hostname:port). Required.
	- `TTRSS_SMTP_LOGIN`, `TTRSS_SMTP_PASSWORD` - SMTP login/password, if needed.
	- `TTRSS_SMTP_SECURE` - Use secure connection. Allowed values: `ssl`, `tls`, or empty.
	- `TTRSS_SMTP_SKIP_CERT_CHECKS` - Accept all SSL certificates, use with caution.
	- `TTRSS_SMTP_CA_FILE` - Use a custom CA certificate for SSL/TLS secure connections. Only used if TTRSS_SMTP_SKIP_CERT_CHECKS is false.

## Upgrading from legacy setup

If you don't use `.env`, migrate `config.php` values as follows:

`define('SMTP_SERVER', 'hostname');` → `putenv('TTRSS_SMTP_SERVER=hostname);`