AttachImage Method
Creates an image attachment from a memory buffer.
Object Oriented Interface
public function doAttachImage($id, $data);
Procedural Interface
secureblackbox_mailwriter_do_attachimage($res, $id, $data);
Remarks
Use this method to create a picture attachment from a memory buffer. Use Attachments property to provide further attachment details.
The method returns the index of the new attachment in the Attachments list.