Utilities: Administration: Sites: New Site: Email Scripting

 

Initialization Script

If specified, the script that will be called when a Tcl interpreter is created for a mailing.

 

These scripts are useful for setting up proxy settings for httpget or setting global variables.

 

These scripts are called in the order Server, Site, and List when a Tcl interpreter is created for a mailing. If no interpreter is required for the mailing, these scripts will not be run.

 

If your message requires these scripts to be run and you are not using TclMerge in your message (i.e., no Tcl scripting is used in your message), you may add the following to your message to cause the interpreter to be instantiated.

 

%%init ; return "%%

 

To set a proxy server, the following lines may be added:

 

package require http 2.3
http::config -proxyhost (proxy ip address) -proxyport (proxy port)