Version: 17.07
Supported Since: 17.01
Attachment Factory Feature can be used to create instances of Attachments when required. Attachment Factory Feature has five API methods. They will be described below.
createAttachmentFromMessageContext |
Parameters
Returns
Gives an Attachment with message payload, message content type and message headers of the given message context set to the attachment.
|
||
createAttachmentFromPayload |
Parameters
Returns
XAttachment::Gives an Attachment with payload set to the attachment. Gives an Attachment with payload set to the attachment.
|
||
createAttachmentFromPayload |
Parameters
Returns
Gives an Attachment with message payload and content type set to the attachment.
|
||
createAttachmentFromPayload |
Parameters
Returns
Gives an Attachment with the given payload set to the attachment. Note that an XMessageFormat payload will first be created using Payload Factory Feature and then only it will be set to the attachment. |
||
createAttachmentFromPayload |
Parameters
Returns
Gives an Attachment with the given payload and content type set to the attachment. Note that an XMessageFormat payload will first be created using Payload Factory Feature and then only it will be set to the attachment. |