#!/bin/sh

{
exec /usr/sbin/sendmail root <<EOF
From: root
To: root
Subject: UPS $NOTIFYTYPE Notification

$1
.
EOF
} &