Documentation Center

Formatting e-mail HTML (VBScript)

To make the distinction between e-mail HTML and Web HTML, use the OutboundEmail.IsRenderingEmail(). funtion.

You may want to distinguish between an online HTML format and an e-mail HTML format for your e-mail message. For example, in an online version of your e-mail, you will want to use normal Web links and component links, rather than trackable links as described in Tracking e-mail link clicking (VBScript).

If you supply the two parameters renderMode and publicationTargetID to this method, it will return true if an e-mail is being rendered.