mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated Troubleshooting Mail (markdown)
parent
27722d8cb0
commit
0f46139538
1 changed files with 13 additions and 0 deletions
|
|
@ -7,6 +7,19 @@ In [Wekan v5.02](https://github.com/wekan/wekan/blob/master/CHANGELOG.md#v502-20
|
|||
- Email settings are made only with snap commands like `sudo snap set wekan mail-url....` or similar in Docker/Source etc `MAIL_URL=...`, more details below.
|
||||
- For any errors like SSLv3 and STARTTLS, check [newest AWS SES info](#example-aws-ses) and use similar settings, other SSLv3/STARTTLS info could be outdated.
|
||||
|
||||
## Some more test code
|
||||
|
||||
```
|
||||
let htmlText = Assets.getText("emailTemplate.html");
|
||||
let modifiedText = htmlText.replace(new RegExp("{{variable}}", 'g'), variable);
|
||||
Email.send({
|
||||
from: "nobody@example.com",
|
||||
to: email,
|
||||
subject: `subject`,
|
||||
html: modifiedText,
|
||||
});
|
||||
```
|
||||
|
||||
## Debugging your SMTP mail server
|
||||
|
||||
If you can't get your email server working with smtp/stmps or MAIL_SERVICE, look is there more config options for your email server at https://nodemailer.com docs, and add new issue about your email server to https://github.com/wekan/wekan/issues or [pull request](https://github.com/wekan/wekan/wiki/Emoji#how-you-could-add-another-plugin).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue