I am trying to start composing a new message via mailto
on OS X. I have set my default email client to be Outlook, so I can open up Outlook with a preconfigured message like so:
open 'mailto:SomeEmail@example.com?subject=hey&body=how are you doing'
but I want to also be able to use the mailto
link to add an attachment to the preconfigured message. I have tried the following:
open 'mailto:SomeEmail@example.com?subject=hey&body=how are you doing&attachment=/Users/myName/Desktop/testFile.rtf'
but when Outlook opens, there is no attachment. I have read that whether or not attachments are allowed with mailto
links depends on the client. Does anyone know if Outlook 2011 allows for this type of attachment?