Commands

Most of the commands listed here do not need to be entered manually. Instead, they may be entered using a corresponding dialog in the Inxmail Professional Client. Commands are only available in editors.

In Inxmail Professional there are two notations for commands:

  • The default notation is: [%Command].

  • For the special command [inx:replace] and for columns, the introductory % is omitted, e.g. [email], [first name].

Command

Description

=Age()

Integrate the age of the recipient into the content of a birthday mailing (Adding age information in a birthday mailing)

Only for birthday mailings: You can use this command only in birthday mailings.

application-url

Insert placeholder for the server Web address (Inserting links to the alternative view in the Web browser (HTML mailings only))

attach

Add file attachment (Adding file attachments)

br

Force line break (Editing area: Text mailings)

content-include

Insert external content (Integrating content into a mailing)

date

Insert current date (Insert system data / commands)

embedded-image

Embed images in HTML mailing (Embedding an image)

encoded-application-url

Placeholder for client Web address (Adding a client)

header

Modify mailing header (Extending the email header)

hr

Insert horizontal rule (Editing area: Text mailings)

id

Insert placeholder for internal identification (Insert system data / commands)

if, else, elseif, endif

Insert conditional expression (Creating personalised texts (for target groups))

listcharset

Placeholder for character set of the mailing list (Advanced properties)

list-name

Insert placeholder for the name of a mailing list (Insert system data / commands)

list-name-encoded Insert placeholder for the name of a mailing list in an encoded way, so that it is usable within the URL of the data source for external content

list-size

Insert placeholder for the number of recipients of the mailing list (Insert system data / commands)

mailbuildmode

Placeholder for the mode of a mailing. All mailings are supplied with a mode. There are a number of different modes. Different modes will make a mailing or elements of a mailing behave in a different way. Mode 2 (TEST_MAIL), for instance, results in external content not being saved.

mailid

Placeholder for the unique ID of a mailing (View and filter the mailings table)

mailing-name

Insert placeholder for the name of a mailing (Insert system data / commands)

mailing-name-encoded Insert placeholder for the name of a mailing in an encoded way, so that it is usable within the URL of the data source for external content

mailref

Create a reference to a mailing (Insert system data / commands or Inserting links to the alternative view in the Web browser (HTML mailings only))

no-mail

Prevent creation of individual mailings (Creating personalised texts (for target groups))

online_params

Command that determines the online parameters encrypted.

Online Parameters The following parameters are online parameters:

  • ID of the recipient
  • Email address (URL encoded) of the recipient
  • Build mode (distinguishing feature used for test emails and actually sent mailings, among other things)
  • Mailref (an encoding of the mailing ID, transmission ID and list ID)

The online parameters are required when the link to the alternative Web view is called or for the personalisation of dynamic Web pages (JSP), among other things.

Note: You can also use the online_params command for the transfer of the online parameters to third-party systems. Contact your Inxmail contact person to obtain the information for decrypting the online parameters.

online_params_unencrypted

Command that determines the online parameters unencrypted.

Online Parameters The following parameters are online parameters:

  • ID of the recipient
  • Email address (URL encoded) of the recipient
  • Build mode (distinguishing feature used for test emails and actually sent mailings, among other things)
  • Mailref (an encoding of the mailing ID, transmission ID and list ID)

The online parameters are required when the link to the alternative Web view is called or for the personalisation of dynamic Web pages (JSP), among other things.

You can also use the online_params_unencrypted command for the transfer of the online parameters to third-party systems.

p

Create paragraph break (Editing area: Text mailings)

pdf-attach

Add a PDF document to the mailing as a file attachment (Creating a new data source and Setting up created PDF data sources)

sendingid

Placeholder for the unique dispatch of a specific (trigger) mailing

subscription-command

Insert subscribe link

(   Mailing list subscription and unsubscription by email )

time

Insert current time (Insert system data / commands)

unsubscription-command

Insert unsubscribe link

(   Mailing list subscription and unsubscription by email )

url

Insert link into a mailing (Inserting a link)

inx:replace

Special command: Insert an input field into a form template (Setting up a user template (text, HTML, multipart))

Only the [%attach] and [%pdf-attach] commands can be personalised.