Scripting Object Reference Cards

The application implements the following built-in object classes. These objects are accessible by script-enabled content files.
Class Use to
 
Mailing Access information about your mailing project.
  Name, Path, ConnectString, ReceiverQuery, BlackListConnectString, BlackListQuery, CodePage, LCID, Published

AbortRender, CreateMail, SubmitMail, RemoveReceivedMail
 
Mail Access information about the mail currently being processed.
  Headers, Receivers, Tos, CCs, Contents, CodePage, LCID, Sender, From, Subject, Date, Priority, AbortRender

OnEndRender, OnStartRender
 
Record Call the collections, methods and properties of the record object.
  Headers, Receivers, Tos, CCs, Contents, CodePage, LCID, Sender, From, Subject, Date, Priority, AbortRender
 
Application Share information among all sessions of a given mailing project.
 
Request Retrieve the values that the client passed to the server during an HTTP request.
 
Response Send output to the rendered content.
  Headers, Receivers, Tos, CCs, Contents, CodePage, LCID, Sender, From, Subject, Date, Priority, AbortRender
 
Server Access to methods and properties on the server.
  Headers, Receivers, Tos, CCs, Contents, CodePage, LCID, Sender, From, Subject, Date, Priority, AbortRender
 
Session Store information needed during rendering for a particular receiver.
 
Global script component:
 
DataSource Implement data access to any non-ADO database.
 

The application implements the following helper functions. These functions are accessible from any script.

Function Use to
 
CSafeStr Return an expression that has been converted to a Variant or subtype String.
 
DefaultStr Return a default string if the passed expression is empty or null.
 
HtmlToText Return a text string from an HTML text.

You can read the VBScript Reference guide at http://msdn.microsoft.com/scripting

Script Enabled Content File: A text file that contains script to be executed within <% %> delimiters, or a .vbs file.