Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send emails on Comment Card notifications #631

Merged
merged 4 commits into from
Mar 21, 2024

Conversation

vied12
Copy link
Contributor

@vied12 vied12 commented Mar 17, 2024

Sends emails to notification receivers on Comment Card actions.

New env vars

SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
SMTP_PORT=587
SMTP_SECURE=
SMTP_FROM="Demo Demo" <[email protected]>

More action types could be supported in a similar way.

This adds nodemailer as a dependency

@CLAassistant
Copy link

CLAassistant commented Mar 17, 2024

CLA assistant check
All committers have signed the CLA.

@vied12 vied12 changed the title feat: send emails on COMMENT_CARD notifications feat: send emails on Comment Card notifications Mar 17, 2024
@meltyshev
Copy link
Member

Hi! Thank you for your work 🙏 I'll try to look at and test this soon.

vied12 and others added 3 commits March 20, 2024 12:15
… navigation to cards and boards for better user experience
…otification function to support email notifications when a card is moved
@meltyshev meltyshev merged commit 9f0fce0 into plankanban:master Mar 21, 2024
1 check passed
@meltyshev
Copy link
Member

Works great, thanks again!

@saschafoerster
Copy link

Tried it and it works. :) Thanks!

@timonson
Copy link

timonson commented Mar 31, 2024

Thank you @vied12 .

One short question for the config because I don't get Emails yet: Does it have to be 587?

SMTP_PORT=587

And is this merge already in docker pull ghcr.io/plankanban/planka:latest?

@daniel-hiller
Copy link
Member

daniel-hiller commented Mar 31, 2024

It depends on what your Mail provider offers

Most of them using 465 and 587 for TLS and 25 for non encrypted connections.

The mail feature was added in v1.16.0

@shakibait
Copy link

Thanks for wonderful feature again,
Only a short question, To activate this feature only i need to uncomment new env variables in docker-compose.yml in installation path and restart the planka, Am i right?

I'm using Ubuntu 20.04 operating system and planka installed and running by docker.

robertocjunior pushed a commit to robertocjunior/planka that referenced this pull request May 14, 2024
@Andrey5617
Copy link

Thanks! It works also on cards' movements between columns. Perfect!
Anybody knows is it possible to receive notification if a new card is being created?

@meltyshev
Copy link
Member

Thanks! It works also on cards' movements between columns. Perfect! Anybody knows is it possible to receive notification if a new card is being created?

Hi! We don't have this type of notification yet, but we have plans to add it.

@ImaCrea
Copy link

ImaCrea commented May 31, 2024

wow it's great to see this feature has been merged! Might consider updating the README to let new comers know that email notification are included :)

@kbkozlev
Copy link

Hi I need some help to set this up.
I'm running the docker container and I tried both with Gmail SMTP and m365, but couldn't get it to send e-mails. Can someone provide a sample config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants