AddPictureBinary Method

AddPictureBinary(data As Blob, name As string, contentType(optional) As string)

AddPictureBinary(Blob data, string name, string contentType(optional));

Parameters

name type description
data Blob The data that will make up the picture.
name string The name to call the attachment.
contentType(optional) string (optional) If not specified, extension on the name will be used to set the content type.

Description

Adds a blob as an picture to the email. This is designed for embedded pictures in html bodies.

You must add a name for the attachment.

The content type will be set automatically if the name has an extension of gif, jpg, jpeg, png or html.

Object

SMTPMail



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.