osx - How to get Mail.app raw message in the Automator? -


need raw message content os x mail.app pass next action.

unfortunately - tested - , doesn't works: :(

a

i don't want select "content" of message, want pass raw content (what base64 encoded) next action.

so, need applescript action betwwen "get selected mail messages" , "new document".

haven't idea how this...

the "new textedit doc" tests, real action perl script, read raw message content stdin.

try:

on run {input, parameters}     set thesource {}     tell application "mail"         repeat amessage in input             set end of thesource amessage's source & return         end repeat     end tell      return thesource text end run 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -