CI Notify provides a container-friendly notification service that can be easily added to your CI/CD pipeline.
Skip the DNS configuration and/or SMTP settings and get right to sending programmatic email.
Send emails from any docker container that can make http requests with
curl
.
Add the following yaml to any GitHub action workflow.
uses: cinotify/github-action@main
with:
to: 'example@example.com'
subject: 'building main'
body: 'This is a notification from GitHub actions.'
Add the following yaml to any CircleCI workflow.
orbs:
email: cinotify/email@1.2.0
workflows:
example-workflow:
jobs:
- email/send:
body: 'Configure this notification at https://www.cinotify.cc/'
subject: CircleCI job started
to: example@example.com
Open a terminal window and:
$ npm install @cinotify/js
const { email } = require("@cinotify/js")
email({
to: 'example@example.com',
subject: 'Sending an email from node.js',
body: 'Configure this notification at https://www.cinotify.cc/'
})
Use the api directly over http with curl
:
$ curl --request POST 'https://www.cinotify.cc/api/notify' \
-d "to=example@example.com&subject=building main&body=hello."