Email Syntax

The syntax below formats the message and uses variables that result in the following e-mail:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title></title>

<style type="text/css">

body {

font-family: Arial, Helvetica, sans-serif;

}

.c1 {

font-size: 0.875em;

padding: 2px 10px 2px 10px;

text-align: right;

width: 30%;

}

.c2 {

font-size: 0.875em;

padding-left: 5px;

padding-right: 5px;

width 70%;

}

.c3 {

background-color: #E7E7E7;

font-size: 1.000em;

font-weight: bold;

padding: 14px;

border-bottom: 1px solid #C6C3C6;

}

.c4 {

font-size: 0.875em;

font-weight: bold;

padding: 14px;

}

.c5 {

font-size: 0.750em;

text-align: center;

}

table {

border-spacing: 0px;

border-collapse: collapse;

}

table td {

vertical-align: top;

}

</style>

</head>

<body>

<table style="border: 2px solid #000000;" cellspacing="0" cellpadding="0" width="500" align="center">

<tr style="background-color: #181C18; height:70px; vertical-align: middle;">

<td style="vertical-align: middle; padding-left:14px;"><img src="https://downloads.automic.com/jart/prj3/dlc/resources/notification/Logo.png" align="left" alt="Automic"></td>

<td style="vertical-align: middle;"><img src="https://downloads.automic.com/jart/prj3/dlc/resources/notification/login_header_background.png" align="right" alt="Automic"></td>

</tr>

<tr><td colspan="2" class="c3">&tt</td></tr>

<tr><td colspan="2" class="c4">&ht</td></tr>

<tr><td colspan="2" style="padding:0;">

<table width="500">

<colgroup width="120px">

<tr><td class="c1">&c1#</td><td class="c2">&$SYSTEM#</td></tr>

<tr><td class="c1">&c2#</td><td class="c2">&$CLIENT# (&$CLIENT_DESC#)</td></tr>

<tr><td class="c1">&c3#</td><td class="c2">&UC_CAUSE_NAME</td></tr>

<tr><td class="c1">&c4#</td><td class="c2">&UC_CAUSE_NR</td></tr>

<tr><td class="c1">&c5#</td><td class="c2">&statustext# (&UC_CAUSE_STATE)</td></tr>

<tr><td class="c1">&c6#</td><td class="c2">&UC_CAUSE_RETCODE</td></tr>

<tr><td class="c1">&c7#</td><td class="c2">&date# &time#</td></tr>

<tr><td class="c1">&c8#</td><td class="c2">&parentname#</td></tr>

<tr><td class="c1">&c9#</td><td class="c2">&parenttyp#</td></tr>

<tr><td class="c1">&ca#</td><td class="c2">&parentnr#</td></tr>

<tr><td class="c1"><p/></td></tr>

</table>

</table>

See also:

Example: Getting Data, Updating the Database, and Sending a Report