How to send an email

To trigger the alert you will have to send an email.

You can do this by sending an email manually via your email provider, e.g. Gmail. Use the unique email provided when you create an alert and enter the message notification in the subject. There is no requirement to enter any text in the body of the email.

Here are some examples on how to send an email in the most common programming languages.

UNIX

Sendmail

echo "Subject: This is the alert message" | sendmail [email protected]

Mail

mail -s "This is the alert message" [email protected] < /dev/null

PHP

Using the mail function

<?php
mail("[email protected]","This is the alert message","body");
?>

Ruby

require 'net/smtp'

message = <<MESSAGE_END
From: Private Person <[email protected]>
To: Email Alerts <[email protected]>
Subject: This is the alert message
MESSAGE_END

Net::SMTP.start('localhost') do |smtp|
smtp.send_message message, '[email protected]', '[email protected]'
end

.NET

Good article from CodeGuru here.
https://www.codeguru.com/columns/dotnet/sending-email-using-.net.html

GoLang

Code from the official GoLang site.
https://golang.org/pkg/net/smtp/#example_SendMail

NodeJS

Nodemailer is a tried and tested module to send emails.
https://nodemailer.com