Sign inSign up

statping/emailer

By statping

Updated over 6 years ago

Sends emails

Image
0

100K+

statping/emailer repository overview

Statping Email Notifier

This repo contains a dedicated service for Statping that allows users to receive notifications to their email address using our SMTP servers.

Required Environment Variables

  • HOST - SMTP host
  • USERNAME - SMTP username
  • PASSWORD - SMTP password
  • PORT - SMTP port

Server runs on port :8080

API Endpoints

POST /request

This endpoint will send an email to the user with a confirmation link/key. Email's won't be sent until this confirmation link is clicked.

{
  "email": "[email protected]",
  "version": "0.90.33"
}
GET /confirm/{id}

Confirm an email address with the key provided in the request email.a

GET /[email protected]

Check the status of your email address.

GET /[email protected]

Attempt to resend the confirmation request email.

GET /[email protected]

Unsubscribe the email address, and remove them from database.

POST /send
{
  "email": "[email protected]",
  "key": "<secret_key_here>",
  "version": "0.90.33",
  "service": {
    ...service JSON
  },
  "failure": {
      ...failure JSON
  }
}

The main endpoint that will send an email about uptime or downtime.

Tag summary

Content type

Image

Digest

Size

233.9 MB

Last updated

over 6 years ago

docker pull statping/emailer