SMTPit Pro

Next Generation Email plug-in

<- Back to SMTPit Pro function list

SMTPit_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 Type
Text
Format
SMTPit_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.

Related Items
SMTPit_SetInlineImage
Examples

Example 1

Code:

SMTPit_SetInlineImageWithDialog

Result:

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

Example 2

Code:

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

Result:

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