CFLRemoveAttachmentsFromMail Procedure

  • 2 minutes to read

Codeunit CFL E-mail Reader

Removes all attachments from a MSG file and returns the modified MSG file. Useful for reducing file size or removing potentially sensitive attachments while preserving the email content.

Signature

CFLRemoveAttachmentsFromMail(Base64MsgFile: text) Base64MsgFileWithoutAttachments: text

Parameters

Base64MsgFile text

Base64 encoded string of the MSG file with attachments.

Returns

text

Base64 encoded string of the MSG file without any attachments.