SMTPit Pro

Next Generation Email plug-in

Send With Container Script

This script is a basic SMTPit Pro calculation with few additions.

First, the "SMTPit_SetInlineImage" function is used to add the image in the "Container" field to the email message.

SMTPit_SetInlineImage( Email::Container )

Second, the image is referred to in the body of the HTML message. This can be done in two ways. The first way is to refer to the image by its part number. This can make it simple to refer to a sequential set of images. The HTML code looks like:

<img src="CID:part1">

The second way is to refer to the image by name:

<img src="image_name.jpg">

You will need to replace "image_name.jpg" with the name of your image in order for the image to be shown.

See the SMTPit_SetInlineImage function in the Function Reference for the list of HTML tags that Inline Images work with.