Adding binary content (VBScript)
You can add a binary file in a Multimedia Component to your e-mail message by attaching the binary file, or creating a hyperlink to the binary file, or if the file is an image you can embed the image.
Attaching a binary file
To attach a binary file to your e-mail message, use the OutboundEmail.AttachFile() function. This function returns an attachment in an intermediate format that the Mailer service can handle.
Inserting a link to a binary file
To insert a link to a binary file rather than an attachment, use the OutboundEmail.GetLinkBinaryURL() function. This function takes the URI of a Multimedia Component as its parameter and returns a URL pointing to the binary file in that Multimedia Component.
Embedding an image
If the binary content you want to add to an e-mail is an image file, you can use the OutboundEmail.EmbedImage() function. This function takes the URI of a Multimedia Component as its parameter and returns the image contained in the Multimedia Component in an intermediate format that the Mailer service can handle.