Who Me Too'd this topic

Who Me Too'd this topic

Cadet 1st Class Cadet 1st Class
Cadet 1st Class
884 views

Send HTML Email with embedded graphic

Is is possible to send an html email with an embedded graphic using the operation Library/Operations/Email/Send Mail?  If it is possible does anyone have an example they can provide?  I assume I would need to use the headers input but the description for it is a little confusing because it says the the default rowDelimiter is a ":" and the default columnDelimiter is "\n".  However, the example uses the opposite so I assume that description has the default values mixed up.  Additionally, the example includes the header "message-type:Multiple Part".  I can't find any reference to this format.  I believe it should be something like "Content-Type: multipart/related" or Content-Type: multipart/mixed.  It seems like Content-Type: multipart/mixed might be hard coded so is it even possible to set a different content type?  I believe I need to do something like this:
Content-Type: multipart/related     (probably need to use a boundry as well but not sure how to)
Content-Type: image/jpeg; name="pic.jpg"
Content-ID: <pic.203480.102384587@sfhsldf.s82>
Content-Disposition: inline; filename="pic.jpg"

Then within the html refer to the image like this:
<img src="cid:pic.203480.102384587@sfhsldf.s82" alt="picture">

Thanks,

Darren

0 Likes
Who Me Too'd this topic
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.