Formatting for Emailing

Agent and Supplier messages can be sent from bookings if the Individual Message Template is formatted to send the message as an email.

When a Message Template has been formatted correctly users will be able to view the email address the message is being sent to and the body of the email message being sent at the time of sending the message.

Additional substitution codes determine which contact field in Tourplan NX the message is to send to and specific email commands are placed at the top of the template.

NOTE: It is assumed that email addresses have been entered into relevant contact fields within Tourplan and that the NX Messaging Engine has been configured to communicate with the SMTP server.

Addressing Details

In Tourplan NX the addressing details of the message are the email fields:

  • To:
  • From:
  • CC:
  • BCC:
  • Subject:

Tourplan needs the following tags wrapped around these fields for the system to identify the email commands.

<EMAIL_CMD_START>

<EMAIL_CMD_END>

<EMAIL_CMD_START>

To:

From:

Bcc:

Cc:

Subject:

<EMAIL_CMD_END>

Now determine the substitution codes required, for the message to send to/from and the content of the subject line.

Below is an example of an Agent message command it will depend on the message type as to which substitution codes are to be used and the subject line text will be determined by each user company's procedures.

<EMAIL_CMD_START>

To: <AEP:GN>

From: <UE>

Subject: Booking Name <BN> - Reference <BR>

<EMAIL_CMD_END>

This example when inserted will locate the Agent email address: contact type 'General' to send the message to, the Users email address to send the message from, and will use the Booking Name and Booking Reference number from the booking in the subject line.

Body of the Email

The body of the email and email signatures are defined within the email container tags:

<EMAIL_CONTAINER_START>

<EMAIL_CONTAINER_END>

The information within these tags will display in the body of your email.

<EMAIL_CONTAINER_START>

Hi <ANP:GN>

Please find attached booking confirmation as requested.

 

Kind regards
<UN>

Your Company Name

T:+64 2 1234 5678 | F: +61 2 9876 5432

E: Your.Email@yourcompany.com

W: www.yourcompany.com

<EMAIL_CONTAINER_END>

This example when inserted will locate the Agent Name to address the email to and will insert the text and signature in the body of the email.

Logos can be inserted as part of an email signature, the details required for individual signatures is determined by each user company's procedures.

Microsoft Word or PDF output

Tourplan messages/documents can be sent via an email as a Word Document or a PDF document. This is defined within the message template between the email command tags and the email container tags.

Word Document Format = MESSAGE_ATTACHMENT_FORMAT: DOCX

PDF Format = EMAIL_FORMAT:PDF

How to set up email commands

Locate the message either as a Word Document, or by downloading an existing message template into Microsoft Word.

    1. Review the document.
    2. Locate the Microsoft Word Saved file.
    Formatting the message to send as a Microsoft Word document.