When using mutt with mailto: From and Fcc are holding wrong values

Dan Ritter dsr-mutt at randomstring.org
Tue Jun 11 13:40:32 UTC 2019


Martin wrote: 
> Hello everyone,
> I'm using mutt on Debian with several accounts and Firefox as a
> browser. When I click on a mailto: link it opens a new terminal with
> mutt and from all I see it does pick up my muttrc correctly, but the
> new email has "Fcc:" as ~/sent and "From" as myuser
> <myuser at myhostname>.
> 
> Same happens when I start it like:
> mutt mailto:foo at bar.net?subject=foo
> 
> Also tried to pass one of my accounts with the -f flag.
> I would expect mutt to select the first or any of my accounts to use
> for the Sent-folder and From-Address.
> 
> Can you give me advice how to use one of my regular accounts for
> composing emails via mailto links?

You'll need a wrapper that parses the mailto: URL and submits
the subject line as -s foo. It might as well set up your
terminal the way you like it and, if you want, use an alternate
.muttrc.

-dsr-



More information about the Mutt-users mailing list