From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: create a "send plain text/pdf email with current header" function? Date: Sat, 1 Aug 2015 13:43:03 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bd91dfee80d63051c43774a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLaoM-00088M-FG for emacs-orgmode@gnu.org; Sat, 01 Aug 2015 13:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLaoL-0000a8-Cg for emacs-orgmode@gnu.org; Sat, 01 Aug 2015 13:43:06 -0400 Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:36185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLaoL-0000Zy-6E for emacs-orgmode@gnu.org; Sat, 01 Aug 2015 13:43:05 -0400 Received: by pdjr16 with SMTP id r16so58217165pdj.3 for ; Sat, 01 Aug 2015 10:43:03 -0700 (PDT) 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: Org Mode --047d7bd91dfee80d63051c43774a Content-Type: text/plain; charset=UTF-8 After getting some help from the list, I wrote a post about something pretty close to what you want here: http://matt.hackinghistory.ca/2015/07/15/mailing-subtrees-with-attachments/ There's a little more code there than you actually need, but some of it may be helpful. Happy to answer questions, too. mp On Sat, Aug 1, 2015 at 11:24 AM, John Kitchin wrote: > You probably could use the function here > https://github.com/jkitchin/jmax/blob/master/email.el#L51 for the email > part after you find the heading you want to send. I think there is some > code there to send a pdf too. > > > On August 1, 2015, at 10:49 AM, Xebar Saram wrote: > > > Hi all > i find that i keep copy pasting food recipes (which i collect with org > obviously) to my email client and then sending it over to the phone to use > in the kitchen (which reminds Me really should get a emacs touch screen for > the kitchen..though my wife would get a stroke if she sees that > ;-))..anyway, anyone knows how one (with almost none to zero elisp skills) > create such a function? > > all i need is locate the recipe (header) and then send the header and sub > headers as text or pdf to my email > > best! > > Z > > --047d7bd91dfee80d63051c43774a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
After getting some help from the list, I = wrote a post about something pretty close to what you want here:

http://matt.hackinghistory.ca/2015/07/15/mailing-subtrees-with-at= tachments/

There's a little more code there than you a= ctually need, but some of it may be helpful.=C2=A0 Happy to answer question= s, too.

mp

On Sat, Aug 1, 2015 at 11:24 AM, John Kitchin <johnr= kitchin@gmail.com> wrote:
<= font face=3D"Calibri">

You probably could use the function he= re https://github.com/jkitchin/jmax/blob/master/email.el#L51 for the email part after you find the heading you want to send. I think = there is some code there to send a pdf too.

Hi all
i find that i keep copy pasting food recipes =C2=A0(which = i collect with org obviously) to my email client and then sending it over t= o the phone to use in the kitchen (which reminds Me really should get a ema= cs touch screen for the kitchen..though my wife would get a stroke if she s= ees that ;-))..anyway, anyone knows how one (with almost none to zero elisp= skills) create such a function?

all i need is loc= ate the recipe (header) and then send the header and sub headers as text or= pdf to my email

best!

Z<= /div>


--047d7bd91dfee80d63051c43774a--