This mail worker is an example of what you can do with 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.
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."
}
See:
./console send-mails -h
This project is released under the MIT License. See the bundled LICENSE file for details.