[REBOL] Re: AW: Re: saving file from detach.r
From: mario:cassani:icl at: 15-Jun-2001 12:55
Hi Thorsten,
> How must the Demime-Demo.txt look like, so that demime-demo.r
> is running
> correctly, cause i get an error-message from line 45 of your
> demo-script.
>
It is simply one single email message as is read from a
pop address and saved to a text file:
8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
mailbox: open pop://user:[password--pop--server--net]
msgfull: first mailbox
write %Demime-Demo.txt msgfull
close mailbox
8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
No "easy" attachment: it's better you learn from the code.
NB The above snipplet saves only the first message, if no
attachment is into it nothing will be decoded...
Have fun
Mario