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

Send welcome email when creating a Praise community #1047

Open
2 tasks
kristoferlund opened this issue May 30, 2023 · 3 comments
Open
2 tasks

Send welcome email when creating a Praise community #1047

kristoferlund opened this issue May 30, 2023 · 3 comments
Labels
api enhancement New feature or request

Comments

@kristoferlund
Copy link
Member

  • Research email sender platform
  • Create API email sender service
@kristoferlund kristoferlund added enhancement New feature or request api labels May 30, 2023
@kristoferlund
Copy link
Member Author

Sendgrid

@kristoferlund
Copy link
Member Author

kristoferlund commented Jun 21, 2023

When interacting with the service you should be able to submit a template and some data.

  • Template is a template key or a filename
  • Data is merged with template, for example {user} is replaced with Mohammad

Perhaps like this?

template = "welcome-email.md"

data = {
  username: "Mohammad"
}

emailService.sendEmail(template, data);

@mohammadranjbarz sounds ok?

@mohammadranjbarz
Copy link
Collaborator

When interacting with the service you should be able to submit a template and some data.

  • Template is a template key or a filename
  • Data is merged with template, for example {user} is replaced with Mohammad

Perhaps like this?

template = "welcome-email.md"

data = {
  username: "Mohammad"
}

emailService.sendEmail(template, data);

@mohammadranjbarz sounds ok?

Yeah seems good, will look at it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants