Skip to main content

Use E-mail Source

Use the e-mail source to trigger alerts by simply sending an e-mail.

Requirements

To use the e-mail source, you need one of the following:

  1. Your own sender e-mail address configured for sending alerts.

Setup

1. Set the Allowed Sender

Before you can send alerts, you must authorize the sender e-mail address.

  1. Log in to the AlertFleet website
  2. Go to the Subscription page
  3. In the E-mail Source section, set the allowed sender e-mail address and save

2. Generate the trigger E-mail

  1. Log in to the AlertFleet dashboard
  2. Navigate to the Source E-mail Builder page
  3. Generate your e-mail alert
  4. Copy and paste the generated To, Subject, and Body fields into your own e-mail sending system

Example of a trigger E-mail

To:

send-XXXXXXXXXXXXXXXXXXXXXXXX@send.alertfleet.com

Subject:

Info

Body:

[SMS:+393333333331,+393333333332,+393333333333,+393333333334]
[WHATSAPP:+393333333331,+393333333332,+393333333333]
[EMAIL:receiver1@sample.com,receiver2@sample.com]
[WEBHOOK:POST|https%3A%2F%2Fsample.com%2Fhook1,GET|https%3A%2F%2Fsample.com%2Fhook2%3Fparam%3D1]
[MESSAGE: This is a sample notification message sent with AlertFleet]
warning

Make sure you have configured your allowed sender e-mail address in the Subscription page. Only messages sent from an authorized address will be accepted and processed.

Common errors

To the sender email address

Each of the following errors may prevent your notification from being processed:

Invalid recipient address:

The email trigger could not be sent because the recipient address (send-[subscriptionId]@send.alertfleet.com) is invalid or incorrectly formatted.

Invalid sender address:

The email trigger could not be sent because either the recipient address or the sender address is invalid or incorrectly formatted.

To the account user email address

Invalid subject:

The email trigger could not be sent because the email subject is wrong (expected: info, warning, danger) meanwhile yours is "...".

Empty email body:

The email trigger could not be sent because the email body is empty.

Missing or empty [MESSAGE:] field:

The email trigger could not be sent because the message field ([MESSAGE:]) is empty or not existent.

[MESSAGE:] field too long:

The email trigger could not be sent because the message field ([MESSAGE:]) is longer than 100 chars.

Malformed recipient fields:

The email trigger could not be sent because one or more of the following fields are malformed: [SMS:], [WHATSAPP:], [EMAIL:], or [WEBHOOK:].

No recipients specified:

The email trigger could not be sent because there are no recipients for any channel.

Too many recipients:

The email trigger could not be sent because one or multiple channels have too many recipients (max 5).