HUB
Sign inSign up
tfk-seneca-mesh-mail-sendgrid logo

telemark/tfk-seneca-mesh-mail-sendgrid

By telemark

•Updated almost 9 years ago

Microservice for sending email via SendGrid

Image
0

10K+

telemark/tfk-seneca-mesh-mail-sendgrid repository overview

⁠tfk-seneca-mesh-mail-sendgrid

Greenkeeper badge Microservice for sending mail via SendGrid

⁠Messages handled

⁠role: mail, cmd: send

Sends email

const email = {
  to: '[email protected]', 
  from: '[email protected]',
  subject: 'Hi, there!',
  text: 'Greetings'
}
Seneca.act('role: mail, cmd: send', email, (error, data) => {})

From cli

$ curl -d '{"role": "mail", "cmd":"send", "to":"[email protected]", "from": "[email protected]", "subject": "Hi, there", "text": "Greetings!"}' -v http://localhost:8000/act

Tag summary

Content type

Image

Digest

Size

118.6 MB

Last updated

almost 9 years ago

docker pull telemark/tfk-seneca-mesh-mail-sendgrid