EmbedImage()
Use this method to embed an image file in your e-mail message.
Syntax
Function EmbedImage(ByVal multimediaComponentID As String, Optional
ByVal attributes As String, Optional ByVal publicationTargetID
As String) As String
Parameters
| Parameter | Description |
|---|---|
multimediaComponentID | The URI of the Multimedia Component that contains the image file you want to embed. attributes Use this optional parameter to pass custom attributes to the |
publicationTargetID | The URI of the Publication Target. The default value of this parameter is |
outputImage | The default value true outputs the image using the standard <img> tag, false will only return the source of the image allowing you to specify your own mark-up. |
Description
The image file must be in a Multimedia Component. The method returns the attachment in an intermediate format that the Mailer service can use to create an actual embedded image.