On Thu, Nov 08, 2012 at 12:37:27AM +0100, Eric Smith wrote: > When piping a message from the compose menu, I receive only the > body of the mail and not its headers. > > I want to capture the headers before sending the mail and am > using this macro. > > macro compose ,y "<pipe-entry>/home/eric/bin/get_subject<enter><send-message>" > > The headers are not being passed to the script get_subject. > What would be the solution?
I really want to say that this is because you're only piping the attachment you currently have highlighted. Now, I'm not sure how to do what you're asking for, but I think that's what's going on underneath. One question though, what are you attempting to do with this? Perhaps we can help you find a better way to do it. It seems to me you're trying to capture outgoing subject lines with a script? (just judging by the name of your script) -Jeremy
pgp47b1WKVwl6.pgp
Description: PGP signature