Re: pop3 attachment decoding

2004-03-30 Thread HyperChris
Using the rev function base64decode() and then writing to a binfile, I can make it work. I guess I would feel more comfortable working from the standard versus my observations. (AppleScript could tell Expander to do it for me but I would still need a Windows way.) Does anyone know which RFC, or

Re: pop3 attachment decoding

2004-03-30 Thread [EMAIL PROTECTED]
would still need a Windows way.) Does anyone know which RFC, or something else, that defines the formatting of attachments ? from what i've seen in reading the rfc's is that using base64 is the most compatible.. but also note that some email clients don't encode plain text files (my own email

pop3 attachment decoding

2004-03-29 Thread HyperChris
I am playing with the 'POP library' stack (thank you and kudos to Sarah) and it's time to decode the attachments. I can write my own decodes for the easy ones, like TXT and HTML, but I would like to better understand the format and do something that could be reused by others. Has anyone already

Re: pop3 attachment decoding

2004-03-29 Thread Sarah Reichelt
Hi Chris, The encoding just reads the file as binary data, then uses base64encode. If you did the reverse, remembering to save as a binfile, I reckon it should work no matter what the file type. If you wanted to use Stuffit Expander instead, I have a technique I use sometimes for Apple Mail