Description

The Email Batch File

The email batch file is simply an Xml file made up of email elements nested within a emails element. An email contains the sender and recipient information, as well as the subject and message body. The properties that make up the email element are shown below.

CopyThe email element
<email>
  <to>The address of the recipient</to>
  <from>The address of the sender</from>
  <subject>The subject of the email</subject>
  <body xml:space="preserve">
    The body of the email.
    Only plain text message bodies are supported.
  </body>
</email>

The email batch file below depicts two emails. During processing, each email will be sent out sequentially.

CopyA sample email batch file
<?xml version="1.0" encoding="utf-8"?>
<emails>
  <email>
    <to>joeneckbone@noemail.com</to>
    <from>admin@phoenix.com</from>
    <subject>Request to Delete Workspace</subject>
    <body xml:space="preserve">
Dear Joe Neckbone,

A workspace from http://yournode.phoenix.com was deleted from the system.

Note: Please do not reply to this email. It was automatically generated.
    </body>
  </email>
  <email>
    <to>samsneed@noemail.com</to>
    <from>admin@phoenix.com</from>
    <subject>Request to Delete Workspace</subject>
    <body xml:space="preserve">
Dear Sam Sneed,

A workspace from http://yournode.phoenix.com was deleted from the system.

Note: Please do not reply to this email. It was automatically generated.
    </body>
  </email>
</emails>

The log file

See Also