summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-08-17 15:06:28 -0700
committerFrédéric Guillot <fred@kanboard.net>2014-08-17 15:06:28 -0700
commit249c9aef35618f620382dc9ce50d811706ccd82f (patch)
tree9d74ef699d10f07c2d73a37faddbe5a64ff9e6b2 /docs
parenteb76e1e530627eae34c74f0db3ed33d9a0da6810 (diff)
Add secure connection TLS/SSL for the SMTP transport
Diffstat (limited to 'docs')
-rw-r--r--docs/email-configuration.markdown18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/email-configuration.markdown b/docs/email-configuration.markdown
index eced715d..974f972e 100644
--- a/docs/email-configuration.markdown
+++ b/docs/email-configuration.markdown
@@ -34,6 +34,24 @@ define('MAIL_SMTP_USERNAME', 'username');
define('MAIL_SMTP_PASSWORD', 'super password');
```
+It's also possible to use a secure connection, TLS or SSL:
+
+```php
+define('MAIL_SMTP_ENCRYPTION', 'ssl'); // Valid values are "null", "ssl" or "tls"
+```
+
+Here an example with Google:
+
+```php
+define('MAIL_SMTP_HOSTNAME', 'smtp.gmail.com');
+define('MAIL_SMTP_PORT', 465);
+define('MAIL_SMTP_USERNAME', 'my_account@gmail.com');
+define('MAIL_SMTP_PASSWORD', 'my google password');
+define('MAIL_SMTP_ENCRYPTION', 'ssl');
+```
+
+To use Google, you might need to allow Kanboard to use your Google account, see ["Allowing less secure apps to access your account"](https://support.google.com/accounts/answer/6010255) and ["My client isn't accepting my username and password"](https://support.google.com/mail/answer/14257).
+
### Sendmail configuration
By default the sendmail command will be `/usr/sbin/sendmail -bs` but you can customize that in your config file.