[REBOL] Re: async pop protocol
From: rotenca:telvia:it at: 25-Sep-2003 21:52
Hi Anton,
> What does it offer that is different to usual pop scheme?
>
> I imagine a situation where the handler notifies your
> call-back function when there is an email ready.
Yes.
> Call-back might want to handle chunks of data rather
> than a cached email
I am for a block of 1 or more emails.
> I think the simplest case should do as much as possible automatically:
> (log in, LIST, retrieve all emails into a block result, log out),
my doubts:
1) the retrieving of mails should start soon after the open or after a comand
( which command)?
2) now i bufferize all mail on servers (no /direct mode), can it be a big
problem?
> give full control, allowing to preview mail headers using TOP,
I use a mode "TOP" or "RETR"
open: pop-async://blablabla/top/5
it can be changed after open with:
insert port "top 5"
insert port "retr"
> I presume you will call it async-pop:// ?
or pop-async:// ??
---
Ciao
Romano