Zum Hauptinhalt springen

Send message

Anatomy

<mail:send var="var" mailserver="(default system SMTP server)">
<mail:header>string</mail:header>
<mail:body>string</mail:body>
</mail:send>

Description: MAIL:SEND consignes an e-mail message to the mail sending queue and sends it immediately.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name for message ID mail:send
mailserverintMail server ID mail:send

Results:

BindingTypePredicate
varN/A

Children

mail:header

Anatomy of Mail header

<mail:header>string</mail:header>
mail:body

Anatomy of Mail body

<mail:body>string</mail:body>

Examples

Example

<mail:send>
<mail:header>
From: person@example.com
To: person@example.com
Date: Tue, 29 Dec 2009 17:23:37 +0100
Subject: This is the subject of the message
Content-Type: text/plain
</mail:header>
<mail:body>This is the body of the message.</mail:body>
</mail:send>