[REBOL] Re: password in POP scheme
From: carlos:lorenz:bol at: 8-Jan-2004 16:31
Hi Bouba,
I also need to delete all messages after download them so
I guess I'll need to treat my INBOX as a port in order to
CLOSE it after deleting messages and safely commit changes to disk
If I use this:
mailbox: read [ scheme: 'POP user: "[carlos--lorenz--bol--com--br]" pass: "mypass"
hostname: "bol.com.br" ]
then mailbox is a block and not a port
Here's my code:
mailbox: read [
scheme: 'pop
host: "pop.bol.com.br"
user: "[carlos--lorenz--bol--com--br]"
pass: "pass"
timeout: false
]
forall mailbox [
mail: import-email first mailbox
if find mail/subject "Test" [
remove mailbox
]
]
Em Qui 08 Jan 2004 12:34, you wrote: