Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'E-mail MIME attachments from the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
E-mail MIME attachments from the command line
Authored by: 47ronin on Feb 18, '04 05:36:19PM
you could just do this:
uuencode filename.sit filename.sit | mail -s "subject" recipient@emailaddress.com
Just replace the words above as needed! That will allow you to send a binary file over the built-in mailserver in OSX in just one line in the Terminal.

[ Reply to This | # ]
E-mail MIME attachments from the command line
Authored by: chitay on Apr 13, '04 04:42:21PM

this idea worked great using 'do shell script' in an applescript I'm working on - thanks! Just wondering if there's a way to use this to send multiple attachments. I need the script to e-mail 2 separate text file to a user (can't cat the two files into one - user is easily confused :-/ ) thanks for the help.



[ Reply to This | # ]