From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: mailto link with a subject and a content Date: Thu, 15 Jan 2015 19:25:53 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBujj-0002Up-LA for emacs-orgmode@gnu.org; Thu, 15 Jan 2015 19:26:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBujf-0004f7-15 for emacs-orgmode@gnu.org; Thu, 15 Jan 2015 19:26:03 -0500 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:56225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBuje-0004f2-T9 for emacs-orgmode@gnu.org; Thu, 15 Jan 2015 19:25:58 -0500 Received: by mail-qg0-f49.google.com with SMTP id f51so14252471qge.8 for ; Thu, 15 Jan 2015 16:25:58 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: PICCA Frederic-Emmanuel Cc: "emacs-orgmode@gnu.org" I don't think a link is what you want here. You only get one piece of information out of box when you click on a link, e.g. mailto:jkitchin@andrew.cmu.edu (in my org-mode) will open a message addressed to me. It is conceivable you could use syntax like [[mailto:some@email.com][Some subject]], but you would need to get the element at point to get to the Some subject part. It is easier to use a headline as the subject, and properties of the headline to store the email address. See the function here: https://github.com/jkitchin/jmax/blob/master/email.el#L51 Which sends an org-headline as an email with the headline as the subject, and contents as the body. After you send the email, it stores who you sent it to, and when as properties of that headline. There are some other simpler email functions in there too. PICCA Frederic-Emmanuel writes: > Hello, I would like to create a link (exported as html) which allow to prefill the content of the emai when we click on it. > > Something like > > To: submit@bugs.debian.org > Subject: My problem with hkl... > > Package: hkl > Version: @VERSION@ > > I found this problem in hkl... > > Is it possible to do this kind of things with org-mode ? > > thanks > > Frederic > > PS: I found nothing about the content in the documentation -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu