From d81d399c0593cc2a2197607fb5620131514223ee Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 1 Oct 2019 21:33:56 +0300 Subject: [PATCH] Updated Troubleshooting Mail (markdown) --- Troubleshooting-Mail.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Troubleshooting-Mail.md b/Troubleshooting-Mail.md index 548a5d0..f701fe8 100644 --- a/Troubleshooting-Mail.md +++ b/Troubleshooting-Mail.md @@ -4,6 +4,34 @@ You can convert special characters of your password at https://www.url-encode-decode.com and copy converted characters to your password. +## Example: AWS SES + +``` +sudo snap set wekan mail-url="smtps://username:password@email-smtp.eu-west-1.amazonaws.com:587" +sudo snap set wekan mail-from="Wekan Team Boards " +``` + +## Example: username contains @ + +Below `@` is urlencoded to `%40` + +``` +sudo snap set wekan mail-url="smtps://user%40provider.com:xxxxxx@smtp.provider.com:587" +sudo snap set wekan mail-from="Boards Support " +``` + +If settings happends to disappear, it's possible set cron job to run those at morning, see: https://crontab.guru +``` +sudo su +export EDITOR=nano +crontab -e +`` +There at bottom add these. Optional is to add to end of snap command `2>&1` to disable output,if there is any. +``` +06 00 * * * sudo snap set wekan mail-url="smtps://user%40provider.com:xxxxxx@smtp.provider.com:587" +06 01 * * * sudo snap set wekan mail-from="Boards Support " +``` + ## Check is username and password required If your email server does not require authentication like username and password, [don't include them in MAIL_URL](https://github.com/wekan/wekan/issues/2106). For example, IBM Notes does not require username and password.