How to attach a file in outlook using NSSharing Service on OSX ?

How to open the default email client with an attachment and pre-filled To, Subject & Body fields.


Using the following link: http://cutecoder.org/featured/programmatically-sending-rich-text-mail-attachment-mac/


I am able to open the default email client but am able to attach a file only with the standard Mac Mail app.


Using the same implementation I am unable to attach a file to Outlook or Thunderbird. (Though the To, Subject & Body fields are pre filled)


Note: The technology used is Objective - C which would be called from JAVA.

How to attach a file in outlook using NSSharing Service on OSX ?
 
 
Q