Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swarrot/worker-mail

A simple implementation of a mail worker using swarrot.
https://github.com/swarrot/worker-mail

Last synced: about 1 month ago
JSON representation

A simple implementation of a mail worker using swarrot.

Awesome Lists containing this project

README

        

# Worker mail

This mail worker is an example of what you can do with
[swarrot](https://github.com/swarrot/swarrot) and some processors.
Its goal is obviously to send mails.

As it's just an demo project, it MUST not be used in production environment.

## Expected message format

The message retrieved from your broker MUST be in json with `to`, `subject`,
`body` fields.

{
"to": "[email protected]",
"subject": "It works !",
"body": "This mail have been sent using the mail-worker, which use swarrot."
}

## Sending mails

See:

./console send-mails -h

## License

This project is released under the MIT License. See the bundled LICENSE file for details.