Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-05 Thread Carsten Dominik
On Apr 5, 2010, at 7:39 AM, Eric Schulte wrote: Hi, It is now possible to send HTML mail directly form an org-mode buffer. Calling `org-mime-org-buffer-htmlize' (could probably use a better name) from inside of an org-mode buffer will use `org-export-as-html' to generate HTML of the

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-05 Thread Dan Davison
Hi Eric, Thanks a lot for this, I think I'll use it quite a bit. This may be specific to my setup, but in case this is useful to others, as a gnus user I had to do (setq mail-user-agent 'message-user-agent) Without altering this --- i.e. with mail-user-agent set to the default value of

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-05 Thread Dan Davison
Hmm, perhaps I should have been a bit more careful with protecting the various special email constructs in my message. Second try: Dan Davison davi...@stats.ox.ac.uk writes: Hi Eric, Thanks a lot for this, I think I'll use it quite a bit. This may be specific to my setup, but in case this

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-05 Thread Eric Schulte
Carsten Dominik carsten.domi...@gmail.com writes: On Apr 5, 2010, at 7:39 AM, Eric Schulte wrote: Hi, It is now possible to send HTML mail directly form an org-mode buffer. Calling `org-mime-org-buffer-htmlize' (could probably use a better name) from inside of an org-mode buffer will use

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-05 Thread Eric Schulte
It's certainly true that email clients can be particular about how they display HTML. One possible fix for issues like these is to use the `org-mime-html-hook' hook and the `org-mime-change-element-style' function for forcing inline css into the misbehaving elements. Best -- Eric Dan Davison

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-04 Thread Eric Schulte
Hi, It is now possible to send HTML mail directly form an org-mode buffer. Calling `org-mime-org-buffer-htmlize' (could probably use a better name) from inside of an org-mode buffer will use `org-export-as-html' to generate HTML of the buffer (respecting regions and subtree narrowing), and will

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-04-01 Thread Eric Schulte
Dan Davison davi...@stats.ox.ac.uk writes: [...] As I understand it the code you've written is designed to be called in a message-mode buffer with orgstruct-mode in force. Would it make sense to also include in your package a complementary function, that one calls in an org-mode buffer? I

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-03-31 Thread Eric Schulte
Hi, I've been using the code currently located at [1] for sending HTML email [2] for a little while now, and it is working very well. I wonder if this should be included in the contrib directory of Org-mode? Also, since it currently only supports gnus (it should be very easy to extend to WL and

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-03-31 Thread Dan Davison
Eric Schulte schulte.e...@gmail.com writes: Hi, I've been using the code currently located at [1] for sending HTML email [2] for a little while now, and it is working very well. Hi Eric, I just tried pasting content from an org file into a message-mode buffer and calling org-mail-htmlize on

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-03-31 Thread Eric Schulte
Dan Davison davi...@stats.ox.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Hi, I've been using the code currently located at [1] for sending HTML email [2] for a little while now, and it is working very well. Hi Eric, I just tried pasting content from an org file into a

Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?

2010-03-31 Thread Dan Davison
Eric Schulte schulte.e...@gmail.com writes: Dan Davison davi...@stats.ox.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Hi, I've been using the code currently located at [1] for sending HTML email [2] for a little while now, and it is working very well. Hi Eric, I just