How to compose a new message and attach one or more files from the command line (Mac OS X
Enter the "open" command and add the "-a Mailplane" option to tell open the listed files in Mailplane
open -a Mailplane file1 [file 2] [...]
open -a Mailplane mypicture.jpg anotherfile.doc
As a result Mailplane will open a new window and attach all listed files. Attachment optimization will work as usual (folder get zipped, pictures are displayed in the optimization window).
Tip: Create a shell alias
You can create a custom 'mailplane' command for easier use:
- Open your shell login script in your favorite editor (for example
alias mailplane='open -a Mailplane'
- open a new Terminal window and try mailplane thefile.jpeg