emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?


From: Eric Schulte
Subject: Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?
Date: Thu, 15 Apr 2010 09:47:00 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Org-mime should now fully support the WL mailer, thanks to Eric S Fraga.

I've updated the documentation on worg, but basically to use org-mime
with WL, you need only add the following to your config.

--8<---------------cut here---------------start------------->8---
(require 'org-mime)
(setq org-mime-library 'semi)
--8<---------------cut here---------------end--------------->8---

Now if any VM users want to add VM mime syntax to the `org-mime-file'
and `org-mime-multipart' functions we should have full coverage of the
big 3 Emacs mailers.

Thanks -- Eric

"Eric Schulte" <address@hidden> writes:

> Eric S Fraga <address@hidden> writes:
>
> [...]
>
>> Thanks.   I've pulled and it now works better, in that the HTML
>> element is now not-nil.  However, it's not quite right and other
>> aspects are still not working.  I'm attaching three files: the original
>> org file I'm using to test the mime encoding, a small image used for
>> the test, and the resulting message I receive when I've sent the
>> result of mime exporting.
>>
>> There are definitely problems in encoding images, whether one
>> explicitly linked to in the org file or one created for latex
>> equations.  Some (maybe all?) of the problems may be due to
>> Wanderlust.  I imagine you don't use WL so if there's any help I can
>> provide in debugging this combination, please let me know!
>>
>
> Yes, there absolutely is something you can do to help.
>
> I think you're right that my poor WL syntax is most likely the problem.
> All of the WL specific syntax is in the `org-mime-file' and
> `org-mime-multipart' functions.  To start could you try replace the
> 'semi portion of the case statement in `org-mime-multipart' with the
> following (I'd paste the whole function but it'd break my outgoing gnus
> email) the syntax here is updated based on a function from
> http://www.emacswiki.org/emacs/WlFaq#toc10.
>
> ('semi (concat
>             "--" "<<alternative>>-{\n"
>             "--" "[[text/plain]]\n" plain
>             "--" "[[text/html]]\n"  html
>             "--" "}-<<alternative>>\n"))
>
> That *should* fix the exportation of html portions w/o pictures, the WL
> syntax in `org-mime-file' will need to be fixed for image attachments.
>
>>
>> I do note that the text contents for the email created in the buffer
>> do differ from what I get when I explicitly insert attachments.
>>
>
> yes, hopefully once these are brought into line then org-mime will work
> for WL as well as gnus.
>
> Thanks -- Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]