This code creates the child entity which holds the image and sets the header.
Howard
Dim mimeImage As NotesMimeEntity |
Set mimeImage = mimeRoot.CreateChildEntity |
Call ns.Open(sDirectoryPath & "logo.gif") |
Call mimeImage.SetContentFromBytes(ns,"image/gif",ENC_None) |
Call mimeImage.EncodeContent(ENC_Base64) |
Set mimeHdr = mimeImage.createheader("Content-ID") |
Call mimeHdr.setHeaderval("<logo.gif>") |
Call ns.Close |