[darcs-devel] [darcs #115] support for external mailto handlers.
via RT
bugs at darcs.net
Sat Dec 4 11:26:19 PST 2004
Sat Dec 04 14:26:17 2004: New ticket: 115.
Transaction: Ticket created by guest
Queue: Darcs
Subject: support for external mailto handlers.
Owner: Nobody
Requestors: erik at bagfors.nu
Status: new
Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=115 >
I'd like to have support for using external mailto-handlers to send
mail. For example, gnome-open (which takes the application in the
gnome-settings) evolution, kmail, thunderbird etc.
It should be very easy to do and I've started it but having never
programmed haskell before it wasn't simple :).
Here is my suggestion.
darcs send --external-mailto=gnome-open
would create a file in /tmp with the patches, named something. Then run
the command "gnome-open
mailto:TO?subject=SUBJECT&attach=/tmp/SOMETHING&cc=CC"
Where TO, SUBJECT, SOMETHING and CC is replaced by the same values as
the sendmail-based mail code (but uriencoded).
This would open a mail-window in the users prefered application and the
user can send the patch.
This should also be able to be a setting you can set in darcs
preferences of course.
This is really needed for those of us that are behind firewalls and
can't send mail through normal sendmail command.
I got as far as writing the uriencode code and adding the commandline to
darcs but then my haskell knowledge died.
Regards,
Erik
More information about the darcs-devel
mailing list