I would like to start writing an email with Mail.app from Terminal, and add an attachment. Something like this:
macbook:~ me$ /Applications/Mail.app/Contents/MacOS/Mail -s the_subject -to email@domain.com < ~/Downloads/file.zip
|
I would like to start writing an email with Mail.app from Terminal, and add an attachment. Something like this:
|
|||
|
|
|
You can do this using AppleScript. Here's a quick (quickly tested) bash script which is close to what you want.
Usage: |
||||