[REBOL] email question Re:(2)

2000-01-18 Thread bemerson


It's hard to imagine a more complete answer. :)

Thanks.

Brad

>Brad wrote:
> > Is there a way to remove pop mail from the server as you read it?
>
>Try the beta manual on the Post Office Protocol (POP)
> %netpop.html
>
>
>
>Deleting Email
>REBOL provides two words that can be used to delete email. The remove
>function deletes single messages, while clear deletes all messages from the
>current index to the end of the pop account.
>
>
>remove mailbox
>
>removes the current message of an online account. To remove the 22nd message
>from the host, for instance, use skip n - 1 , where n is the index of the
>message to be removed.
>
>remove skip mailbox 21
>
>removes the twenty-second message of the online email account, provided the
>index of mailbox has not been modified and mailbox is pointing at the first
>message. Actually, the message will not be removed until the connection is
>closed.
>To empty your online account completely, use the clear function:
>
>
>mailbox: open pop://username:[EMAIL PROTECTED]
>clear mailbox
>close mailbox
>
>Which messages are removed depends on the relative position of the word
>mailbox
>
>
>
>I hope that helps!
>
>Andrew Martin
>ICQ: 26227169
>[EMAIL PROTECTED]
>http://members.xoom.com/AndrewMartin/
>-><-



[REBOL] email question Re:

2000-01-18 Thread Al . Bri

Brad wrote:
> Is there a way to remove pop mail from the server as you read it?

Try the beta manual on the Post Office Protocol (POP)
%netpop.html



Deleting Email
REBOL provides two words that can be used to delete email. The remove
function deletes single messages, while clear deletes all messages from the
current index to the end of the pop account.


remove mailbox

removes the current message of an online account. To remove the 22nd message
from the host, for instance, use skip n - 1 , where n is the index of the
message to be removed.

remove skip mailbox 21

removes the twenty-second message of the online email account, provided the
index of mailbox has not been modified and mailbox is pointing at the first
message. Actually, the message will not be removed until the connection is
closed.
To empty your online account completely, use the clear function:


mailbox: open pop://username:[EMAIL PROTECTED]
clear mailbox
close mailbox

Which messages are removed depends on the relative position of the word
mailbox



I hope that helps!

Andrew Martin
ICQ: 26227169
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
-><-




[REBOL] email question

2000-01-18 Thread bemerson


Is there a way to remove pop mail from the server as you read it?  I'm 
working on a command based email service and I have to use another program 
to remove the email once it has been processed.

Brad