I have a macro that executes when the user sends an email. In this macro, I want to get the subject of the email itself and the titles of all of its attachments (be they documents or other attached emails).

To get the email subject, I use Groupwise.ComposingItem.subject

To get the attachment filename, I use Groupwise.ItemAttachmentGetDisplayName("X00", <attachment_index>)

However, this call only seems to work for document attachments. For other emails attached to the current email, this call returns "Mail Attachment" instead of the name of the attached email. How can I get the name (i.e. subject) of the attached email?

Thank you,