ken wrote:
> >Huh. ".eml". I've spent years using and part-time developing email clients
> >and servers, and never heard of that extension. Good to know.
>
> I am not sure those things are standardized, but I just Googled "eml
...
> this to say that I don't know how Thunderbird will determine a file type
> on other platforms.
I found (on linux -- you were right about me) that Thunderbird seems to
simply ignore the -file argument unless I give it the .eml suffix. Other
suffixes might work, didn't research it.
My working bash snippet (trimmed to remove some extraneous local oddities).
run_thunder()
{
msg=( $(mhpath "${@:-cur}") ) || exit
if [ ${#msg[*]} != 1 ]
then
echo Exactly one message at a time allowed. >&2
exit 1
fi
cp ${msg[0]} /tmp/$(whoami)-message.eml || exit
thunderbird -file /tmp/$(whoami)-message.eml &
}
Thanks again!
paul
=----------------------
paul fox, [email protected] (arlington, ma, where it's 85.7 degrees)