summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-22 22:57:32 +0300
committerAndrew Dolgov <[email protected]>2018-11-22 22:57:32 +0300
commit261dea435f09c43bbb5a1f265e1df98ce77c0228 (patch)
tree2af875405e37a059fe6ebcdd41669c8c26fdc392 /README.md
parent7f31179495f4320eaa9144bc7dd16ff5947df541 (diff)
upd readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..65bdd2a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+Warning: this plugin uses PHPMailer which is a library with regularly discovered
+vulnerabilities. Use at your own risk.
+
+Installation
+============
+
+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.
+```
+
+At least SMTP_SERVER needs to set for plugin to work.