OS X: open an email client, create a new mail and add the file as an attachment

We want to make sure that users of our (Java) application make sending error logs as easy as possible. First, it seemed to us that we open a page with an error message on our website and fill in the input / output field with the file to be downloaded, but this does not work for security reasons.

Is it possible in OS X (command line call, Apple Script, what ever) to open a new email message in the default email client and add a specific file as an attachment?

+3
source share
3 answers

, ; script , , , , , Gmail, .

, HTTP (S) . , , FeedbackReporter ( HTTP) UKFeedbackProvider ( ).

+1

(). :

open -a Mail filetosend.ext

Mac Mail, , .

+3

Is this application required? You can embed textual information in the message body using the standard mailto:bot URL, which will work in any OS and any mail client.

+1
source

All Articles