AddPictureFile Method

AddPictureFile(filename As string, name As string, contentType As string)

AddPictureFile(string filename, string name, string contentType);

Parameters

name type description
filename string The filename, including path if required.
name string (optional) If not specified, the filename will be used.
contentType string (optional) If not specified, extension on the name will be used to set the content type.

Description

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

If you do not specify a name, it will be given the filename.

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.