develooper Front page | perl.perl5.porters | Postings from April 2014

[perl #121553] perlbug should offer to execute a mailto link

Tony Cook via RT
April 16, 2014 00:25
[perl #121553] perlbug should offer to execute a mailto link
Message ID:
On Mon Mar 31 19:12:11 2014, bulk88 wrote:
> Perlbug should offer a mailto link with the subject and body in the
> mailto url and run it through the GUI shell/a browser. See attached
> pic
> of how it works on windows. That Outlook Express window isn't
> configured
> to send mail on that PC, but on another PC I have a regular mail
> client
> that does send mail. Notice the double quotes didn't work, and the &s
> had to be escaped with win32's cmd line escape character which is ^.
> But
> this would improve the experience of perlbug on win32 and maybe some
> other platforms. start command is windows specific, google says "open"
> on OSX and |gnome-open on Linux are equivelents. I assume the
> interface
> will be an option parallel to "send", or underneath "send" as a yes or
> no, or automatically if sendmail fails.

It's an interesting idea.

From some searching it appears that xdg-open is preferred over gnome-open now - since it works outside of gnome.

Testing locally, xdg-open ran mutt twice (first in my current terminal, then in a new terminal) while gnome-open only ran it once (in a new terminal) when I set mutt as my mail client.  And didn't send the mail.

So I don't think it should be an automated fallback, but an explicitly selected option.

Of course, it won't help when their mail client isn't setup (like Evolution for me on Linux, or Mail on OS X).


via perlbug:  queue: perl5 status: new Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About