Hey Carlos,

try OPENing the mailbox instead of READing it.

HTH
~~Ammon ;->


----- Original Message ----- 
From: "Carlos Lorenz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 08, 2004 11:31 AM
Subject: [REBOL] Re: password in POP scheme


>
> 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: "[EMAIL PROTECTED]" 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: "[EMAIL PROTECTED]"
> 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:
> > Carlos Lorenz wrote:
> > >Hi list,
> > >
> > >Maybe this was answered here a hundred times
> > >but how can I read my mail box in just one line
> > >if a have as username "[EMAIL PROTECTED]" and as passwdord
"mypass"
> > > ?
> > >
> > > pop://[EMAIL PROTECTED]:[EMAIL PROTECTED] does not work
> > >
> > >TIA
> > >Carlos
> >
> > You could give a try to something like :
> > open [ scheme: 'POP user: "[EMAIL PROTECTED]" pass: "mypass"
> > hostname: "bol.com.br" ]
> >
> > It should work I think. :)
> >
> > Bouba
>
>
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>
>


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to