The following is an original version of the mail-custom.asl file for the Email Notifier Adapter for both VMware Smart Assurance IP Availability Manager and VMware Smart Assurance Service Assurance Manager:

/* mail-custom.asl - Custom script for the mail notification adapter.
 *
 * Copyright (C) 1999-2011, VMware Corporation
 * All Rights Reserved
 *
 * RCS $Id:mail-custom.asl,v 1.6 2002/01/30 23:27:26 boaz Exp $
 */
/** No word delimiter needed.*/
delim = "";
/*
 * Required variables.*/
default debug = FALSE;
default test = FALSE;
default NotifierName = "<error>";
notifier = self->object("GNA_Notifier", NotifierName) ? LOG,STOP;
currentEvent = notifier->CurrentEvent ? LOG,STOP;
mailer = self->object("ACT_Mail", "ACT-Mail") ? LOG,STOP;
mailer->test = test;
mailer->trace = debug;
serverName = notifier->serverName;
/** User-provided parameters.*/
sender = notifier->ConfiguredBy->SenderId;
recipients = notifier->ConfiguredBy->Recipients;
/*
 * Rules.
 */
START() {
    local subject = "";
    local body = "";
} filter {
    /*
     * Only send here if sentByCustom is TRUE.
     */
    (currentEvent->sentByCustom)
} do {
    /*
     * This is how the adapter constructs the default message.  
     * Edit to suit your tastes.
     */
    subject = currentEvent->icDisplayType." ".
              currentEvent->icInstanceDisplayName." ".
              currentEvent->icEventDisplayName;
    body = ("  InCharge Server " . serverName . ":\n " .
            currentEvent->icDisplayType . " " .
            currentEvent->icClassDisplayName . " " . 
            currentEvent->icInstanceDisplayName . " ".
            currentEvent->icEventDisplayName .
            " (" . string(currentEvent->icCertainty) . "%):\n " .
            currentEvent->icEventDescription . "\n");
    mailer->sendmail(sender, recipients, subject, body) ? LOG,STOP;
}
/*
 * Local Variables:
 * mode: C++
 * End:
 */