home *** CD-ROM | disk | FTP | other *** search
/ ftp.notepager.com 2015 / 2015-02-04.ftp.notepager.com.tar / ftp.notepager.com / dev / templates.txt < prev    next >
Text File  |  2014-04-01  |  3KB  |  96 lines

  1. Template Info
  2.  
  3. Templates are processed in the following order:
  4.     Program, Connector, Carrier, Recipient
  5.  
  6.     Settings will be overridden by the most recently processed template - if a 'new' setting isn't present, then the previous setting will be retained
  7.  
  8.     If subject or text fields are blank, then the previous values will be used
  9.  
  10.     On database creation/upgrade a default program level template is created
  11.  
  12.     \000 character values can be used in templates (must be used for carriage returns, linefeeds, etc.)
  13.  
  14. Settings
  15.     From - override sender text
  16.     To - override recipient text
  17.     SubjectDelimiter - character that divides subject text from body of message - can be multiple characters separated by pipes - \000 character values can be used - replaces registry setting
  18.     SubjectSearchLength - how far to look into the message body for the subject delimiter
  19.     StripNonPrintable - strip non printable characters from message text
  20.     StripAlpha - strip everything except numbers from message text
  21.     SMTPHelloHost - force to use this text when issuing a SMTP Helo or Ehlo command
  22.     SMTPEnvelopeFrom - force to use this text for the SMTP Mail From: command
  23.     SMTPEnvelopeTo - force to use this text for the SMTP Rcpt To: command
  24.     SMTPSubjectDefault - if no subject is found in the message text, use this text for the message subject
  25.  
  26.  
  27. Subject and Text Macros
  28.     %Subject%
  29.     %SubjectDelimiter%
  30.     %Message%
  31.     %Sender%
  32.     %SenderMailbox%
  33.     %SenderDomain%
  34.     %Recipient%
  35.     %RecipientFullName%
  36.     %OriginalRecipient%
  37.     %LastRecipient%
  38.     %RecipientId%
  39.     %RecipientMailbox%
  40.     %RecipientDomain%
  41.     %Comment1%
  42.     %Comment2%
  43.     %Comment3%
  44.     %Comment4%
  45.     %Date%
  46.     %Time%
  47.     %MilitaryTime%
  48.     %RequestedDate%
  49.     %RequestedTime%
  50.     %RequestedMilitaryTime%
  51.     %TimeZone%
  52.     %ShortTimeZone%
  53.     %Station%
  54.     %LoginName%
  55.     %ComputerName%
  56.     %Reliapage%
  57.  
  58.  
  59. Depreciated settings
  60.  
  61. carriers table
  62.     drop_control
  63.  
  64. users table
  65.     alpha
  66.     notify_only
  67.     notify_code
  68.     remove_from
  69.     remove_domain
  70.     alpha
  71.     reliapage
  72.     drop_control
  73.     sendsubject
  74.  
  75. Registry
  76.     subject_delimiter
  77.     smtp_sender_overide
  78.  
  79.  
  80.  
  81. *** Important
  82.     failurenotifylist.txt, successnotifylist.txt, failure.mtp and success.mtp do NOT use the new templating system. They still operate the same as in previous versions of PG
  83.  
  84.  
  85. *** Important
  86.     The following settings couldn't be automatically moved into the new templating system, so users may have to manually edit their templates to compensate:
  87.         Remove from - will need to remove the %Sender% macro from the template(s)
  88.         Remove from domain - will need to use %SenderMailbox% macro instead of %Sender% macro in template(s)
  89.         Reliapage - will need to add %Reliapage% macro to template(s)
  90.  
  91. *** Important
  92.     The database structure of the users table and carriers table has changed, so if people are integrating directly to the database, they will need to make the necessary changes on their end
  93.  
  94.     The import and export file formats have changed for recipients and carriers, so different versions of PG can't automatically update each other.
  95.  
  96.