How to recreate in your solution
To add an HTML inline image to your own solution, you will need to use the "SMTPit_SetInlineImage" function. To reference the image(s), you can use a container field with an image in it, a path in a field, or a path directly in the calculation. For example:
SMTPit_SetInlineImage( "/Images/logo.gif" )
Further, you need to reference the images in your HTML as follows:
Or using the image name:
If you use the part number, you can reference images in the order that you added them using the "SMTPit_SetInlineImage" function. For example, suppose you have two container fields named "container1" and "container2". Container1 contains an image named "flower.jpg" and container2 contains an image named "truck.jpg". You can set the images from both fields like this:
SMTPit_SetInlineImage( db::container1) & "¶" &
SMTPit_SetInlineImage( db::container2 ; "HTML" ; SMTPit_Append)
Since the flower.jpg image in the "db::container1" field was set first, it is part1. The truck.jpg image in the "db::container2" field was set second, so it would be part2. You could then reference both images in your HTML as follows.
When the above email is received, the flower.jpg image would appear where you put the CID:part1, and the truck.jpg image would appear in place of CID:part2. As mentioned previously, you can alternatively use the name of the image in your HTML instead of using the part numbers.