EMAIL
Sends Emails
This feature is experimental and is likely to change a few (more) times before
a final syntax is arrived at.
Emails are generated from an <sql> query, or <dbobjectsrc>.
the following fields are used
- to
- the email address of the recipient
- from
- the email address of the sender optional
- subject
- the email subject
- returnpath
- the return path address optional
- body
- the content for the email body
- sent
- true/false: only unsent emails will be sent, on success this is set to true optional
- send
- true/false: if false the email will not be sent optional
- attachment1filename
- file to attach as file 1 optional
- attachment1mimetype
- mime type of first attachment optional
- attachment1data64
- base-64 data to attach as file 1 optional
- attachment1data
- data to attach as file 1optional
-
If attachment1 filename or data or data64 are present then the filename is used
for the attacment but the provided data is used for the attachment content, else
the named file is opened and read and its content is used for the attachment.
- If mimetype is not provided it will be guessed, (probably poorly).
- Having both data and data64 is an error and may lead to unpredictable behavior.
- multiple attachments are supported (replace the 1 with a 2 for the second
attachment etc.
- there is no hard limit ,other than available memory
- attachments starting at the first one to be without data64,data,or filename will not be sent.
Content
No ATTRIBUTES
Empty CONTENT DECLARATION
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: REQUIRED
Parent Elements
Top Elements
All Elements
Tree
bond-2.1 DTD