> It looks like that maildaemon.php doesn't handle some multipart bodies
> correctly. Especially when the mail body is like this:
>
> multipart/mixed
>     multipart/alternative
>         text/plain
>         text/html
>     image/jpeg

In this case, how does one tell which part of the email is the body (which
should become the notice text) and which part(s) are the attachments?

> I made a correction which fixes the problem into my laconi.ca clone. If
> you
> want to check it, it is here
> http://gitorious.org/~jaakko/laconica/jaakkos-clone/commit/1f1dbfec3a0eff0bbc79bb9db1b488d57a63ce28
> I could do a merge request if there is a need and will.

I just looked over the patch, and imported it into my local copy, and am
trying it now. I agree with the comment "This will also store the
text/html body. Should be fixed." but I don't know how to tell if the
sender meant for that "text/html" part to be an attachment, or an
alternative. How does one know?
>
> Jaakko

Thanks,
~Craig

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to