[haiku-development] Re: Accessing the Mail API from scripts

  • From: hey68 you <hey68you@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 25 Dec 2011 10:03:34 +0200

I don't know if this will help you, but I have played around with Python
using the email library of Python

e.g. >>> import email

It's very powerful. I had an idea to create a javascript with AJAX to read
emails in Haiku (html-formatted emails) in the Webpositive browers.... and
the Python email lib is able to give me the html section of a Haiku email.

Regards,
hey68you


On Sat, Dec 24, 2011 at 6:28 AM, Ryan Leavengood <leavengood@xxxxxxxxx>wrote:

> On Fri, Dec 23, 2011 at 6:55 PM, Jerry <jquill81@xxxxxxxxx> wrote:
> >
> > Can anyone tell me if libcharlemagne, once completed, will include
> > bindings for Mail?
>
> Maybe. It depends on what sort of API resides in Mail, if any. I don't
> know the code myself, but one would hope or expect that the mail
> sending and receiving parts were extracted out into proper classes. If
> that is the case they could be exposed. But then we have the issue of
> exposing an API which would then have to be maintained for backwards
> compatibility. So it is a tricky issue.
>
> I asked Jon Yoder, aka DarkWyrm, to put libcharlemagne on GitHub since
> I have an interest in using it to make Ruby bindings for Haiku Kits,
> but I haven't had any time to work on it yet. If anyone else is
> interested:
>
> https://github.com/darkwyrm/libcharlemagne
>
> --
> Regards,
> Ryan
>
>

Other related posts: