Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 696 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 696 Bytes

Worker mail

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.

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.