Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the General tab, leave the Base Part field blank and leave the Only Derived box unchecked.
  2. Select Script from the Type drop-down list.
  3. Enter the script to define the contents of the Message Part on the HTML and/or Text tabs.
    • If the Message System supports HTML, then enter the appropriate text on the HTML tab and optionally on the Text tab (if you want to support a fall-back option to a plain text message for recipients whose email program does not support HTML). If the Message System does not support HTML, specify the appropriate text on the Text tab.
    • See the Data Table message part, which is included with the standard Aptify installation, for a sample script.
    • Use the Scripting icons to assist you with writing the script. See Administering Scripts for more information.
    • See Scripting Response Object for information on the intrinsic Response object, which is available for Messaging scripts.
       
  4. Aptify's Messaging Engine supports the ability to pass in record data to a message's HTML code using Aptify's mark-up convention (the <<Field Name>> format).
  5. In addition, the Messaging Engine can use C formatting tag to display numeric fields with a currency symbol and a d tag to display date/time fields in the date only (short date) format. For example, you can format money fields with its proper currency symbol using this convention: <<Money Field:C>>Other formatting options appear below. Note that a value after a format character specifies the number of significant digits or decimal places to display. (For example, the format string, <<Number Field:F2>>, displays a fixed-point number with two decimal places.)
    • C: Displays numeric values in currency format.
    • D: Displays numeric values in decimal format.
    • E: Displays numeric values in scientific (exponential) format.
    • F: Displays numeric values in fixed format.
    • G: Displays numeric values in general format.
    • N: Displays numeric values in number format.
    • X: Displays numeric values in hexadecimal format. This is case sensitive. The hexadecimal characters are displayed in the case specified.

      For more information about other formatting types, including dates, please visit Microsoft's page on Formatting types in .NET.

  6. See About the Order Confirmation Message Template for Dot Net Mail for information on the sample Message Template that illustrates these features. 

    Sample Script Syntax 

...