Open
Description
Describe the issue
To find the "Tenant Media" entry for a specific attachment of a "Sent Email" you need the value of the "Email Massage Attachment" Data field. This field has a GUID which is the Primary Key of the "Tenant Media" table.
"Email Massage Attachment" is an internal table of the "Sent Email" subpage.
The "Email Massage" Codeunit for managing the table currently lacks a procedure to get this Data field.
In addition to already existing procedures like Attachments_GetName, Attachments_GetLength etc., i would like to add an Attachments_GetData procedure which then returns the Guid.
Expected behavior
A procedure in the Email Message Codeunit which returns the Data of the Attachment
Steps to reproduce
No procedure available to get the Data of an email attachment
Additional context
No response
I will provide a fix for a bug
- I will provide a fix for a bug