Ok peoples, I've spent all day looking at %detach.r, Ryans email, rfcs and
the inner parts of Rebol.
And I blame Ryan for it. :)

I really couldn't let the code in detach go to waste.

I chopped %detach.r to pieces and put it back together again (no guarantee
all functionality is the same - in fact I know it is different).

I called my version %import-attachments.r. Because I wanted to import them
as a block and leaving hanging of an email object as a new field. But alas I
think I was misguided.

Nevertheless!

export-attachments  found in this same file seems to work :) Even for Ryans
email from the Be mailer.
I have assumed, that multipart message can be nested (as is the case with
the Be mailer). This is explicitly allowed according to the rfc.

Please check it out and let me know how many mistakes a newbie Rebol
programmer has made. :)

Please note that I have only got it working for content-type of image so
far.
Next to do would be text and application. I'm very happy if someone else
wants to "spit and polish it".

Brett.

Reply via email to