<< Click to Display Table of Contents >>

Message Commands


Subject

The Subject field allows you to specify a line for the subject field of your message. This is particularly useful if you wish to completely automate your message sending, for example if you are creating a mail merge with many recipients.

 

To add a subject to a file use the command:

 

%%[subject:«subject»]

 

For example:

 

%%[subject: Today's meeting notes]

 

 

Name

You can specify the name of the recipient by the adding the following command:

 

%%[name:«recipient_name»]

 

where «recipient_name» is the name of the person you are sending the document to.

 

 

Organization

You can specify the name of the organization by using the following command:

 

%%[organization: «organization_name»]

 

where «organization_name» is the name of the company where you are sending the document to.

 

Start Document

To specify the start of a new document within a print job, use the command:

 

%%[startdocument]

 

This command tells Zetadocs that the current document is finished and a new one is starting.

 

Message Body

To specify the message body use the following commands to enclose the body text:

 

%%[startbodytext]

 

«body text»

 

%%[endbodytext]

 

Where «body text» is the text to be included in the email or fax body.

For example:

 

%%[startbodytext]

 

Dear Customer,

Thanks for your interest in our product. Please see attached PDF.

 

Regards the Sales Team

www.equisys.com

 

%%[endbodytext]

 

 

Email Format

To specify the email format use the following command:

 

%%[emailformat:«format»]

 

Where «format»] can be either “HTML” or “Text”. When this command is not set, the client will use the value set in the Zetadocs options.

 

 

Exclude Page

To exclude a page from the document use the command:

 

%%[excludepage]

 

This command is useful for excluding a page which contains a number of embedded addressing commands, for example the message body.