Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of markjugg (792)

Friday May 21, 2004
07:44 AM

mozilla mailto links that work with mutt on a remote server

[ #18869 ]
I've wanted a solution for this for years.

I use mutt to read email in a remote terminal window. I'd still like to be able to click on an e-mail link in a browser and send an e-mail directly. Sure, I could copy/paste it. However, one application I use also usually passes a subject and body through the link.

That would be a pain in the ass to copy and paste.

Here's my solution: I'm using the mozex plugin for Mozilla on my Linux desktop.

With that installed, I can set the mailer command of my choice. I use this:

xterm -e ssh -t mark@myserver mutt 'mailto:%A?subject=%S&cc=%C&body=%B'

For icing, I share SSH keys with the server. With ssh-agent in play, I don't even have to enter a password. Mutt just pops right up.

Very nice.

But there's just one drawback. The link I want to follow comes through a submit button rather than an anchor tag, and that doesn't appear to be supported yet. Sigh.

Oh well. The other feature of mozex that makes it worthwhile for me is that it allows me to edit textareas in the text editor my choice, making it super comfy to make journal entries like this.

Happy Friday!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Wow... this is really nice :-) I'm actually editing this entry with vim :-)
    (and that's good, 'cause this way I have spell checking enabled)

    But it still is a little bit weird... After editing the file, the text area
    only gets updated when I click on it with the mouse... :-| And that's not
    really clever, because I'm also allowed to write on it, but after clicking on
    it with the mouse I loose all the changes I made on the page and get the ones
    I did on vim :-|

    Oh well, but don't let that stop you :-) Just edit an