Product Logo

SMTPit Pro

Next Generation Email plug-in

Functions

SMTPit_SetInlineImageWithDialog

NameSMTPit_SetInlineImageWithDialog
Description

The SMTPit_SetInlineImageWithDialog function is similar to the SMTPit_SetAttachmentWithDialog function. This function presents you with a standard open file dialog that lets you choose an image file from your hard drive. It then uses the chosen image as an inline image for you to use in your HTML emails.

Return TypeText
FormatSMTPit_SetInlineImageWithDialog ( Type ; StartPath ; Prompt ; SMTPit_Append )
Optional Parameters
Type

The Inline Image Type; currently only “HTML” is supported. Default is “HTML”.

StartPath

The Path to the Folder to display when the dialog first opens.

Prompt

An optional Prompt or Message to display on the dialog.

SMTPit_Append

Leave this in to add this Inline Image to the current list of Inline Images.

Examples
Example 1

Opens a file dialog and uses the chosen file as an HTML Image.

SMTPit_SetInlineImageWithDialog
Example 2

Opens a file dialog and appends the chosen file as an HTML Image.

SMTPit_SetInlineImageWithDialog( ""; ""; ""; SMTPit_Append )