nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: graphical mail reader for one-off use


From: Paul Fox
Subject: Re: graphical mail reader for one-off use
Date: Thu, 13 Jul 2023 12:08:34 -0400

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, pgf@foxharp.boston.ma.us (arlington, ma, where it's 85.7 degrees)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]