I canβt understand the question correctly, but if all you want to do is click the Share button on the Enchant panel, then select the Mail application and be able to fill in the subject line is displayed when the Mail application pop-up window is displayed ", you can follow this approach:
private DataTransferManager dataTransferManager;
source share