praise
praise copied to clipboard
Send welcome email when creating a Praise community
- [ ] Research email sender platform
- [ ] Create API email sender service
Sendgrid
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 withMohammad
Perhaps like this?
template = "welcome-email.md"
data = {
username: "Mohammad"
}
emailService.sendEmail(template, data);
@mohammadranjbarz sounds ok?
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 withMohammadPerhaps like this?
template = "welcome-email.md" data = { username: "Mohammad" } emailService.sendEmail(template, data);@mohammadranjbarz sounds ok?
Yeah seems good, will look at it