Email Heartbeat Example
Example: send a heartbeat email with mail
echo "heartbeat ok" | mail -s "ilert heartbeat" <INTEGRATION_EMAIL>Example: send with sendmail
printf "Subject: ilert heartbeat\n\nheartbeat ok\n" | sendmail <INTEGRATION_EMAIL>Example: send with curl to SMTP server (if mail tools are not installed)
curl --url "smtp://your.smtp.server:25" \
--mail-from "[email protected]" \
--mail-rcpt "<INTEGRATION_EMAIL>" \
--upload-file - <<EOF
Subject: ilert heartbeat
heartbeat ok
EOFLast updated
Was this helpful?