On 22 Nov 2013, at 15:20, mailmate wrote:

I would like just the "text" From/Subject/Date/To headers included in a formatted way just like one would double click an email.

Ok, you didn't write which application so I just put it on the pasteboard. This is not as elegant as the other command I provided. The headers are a bit raw. There is no nice reformatting of subjects, dates, etc.

Save the attached file in the `Commands` folder of the bundle I previously sent you.

This command uses the `canonical` input format. This is the text of a message after it has been decoded and “deflowed”, i.e., in a nice clean plain text style. I'm pretty sure I've observed that this fails for some HTML messages. This is a bug (it should always be converted to plain text).

--
Benny
{
        name    = 'Copy Message';
        input   = 'canonical';
        environment = 
"MM_FROM=${from}\nMM_SUBJECT=${subject}\nMM_DATE=${date}\nMM_TO=${to}\n";
        script  = '#!/bin/bash\n(echo "From: ${MM_FROM}\nSubject: 
${MM_SUBJECT}\nDate: ${MM_DATE}\nTo: ${MM_TO}\n"\ncat\n) | pbcopy';
        keyEquivalent = "M";
        uuid = 'ED59D8FF-A70F-4120-8FFB-B05C12BDCE48';
}
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate

Reply via email to