[REBOL] Re: Reading POP mail
From: tim:johnsons-web at: 1-Oct-2001 14:50
Hi Matt:
> The complete script (minus the obvious user/domain details) is as
> follows:
>
> REBOL [Title: "check mail"]
> print "Content-Type: text/plain"
> print ""
> mailbox: open pop://user:[pass--domain--com]
> while [not tail? mailbox] [
> msg: import-email first mailbox
> print "mail: "
> print msg/subject
> print newline
> mailbox: next mailbox
> ]
> close mailbox
Here's another thought: I'm not as seasoned a rebol programmer as many
on this list, but I use rebol requently for SMTP, less often for POP.
Here's a question: regarding the following line, which you have
obfuscated:
mailbox: open pop://user:[pass--domain--com]
? Are you using your domain OR are you using the full name of
you POP server.
Example: My domain is johnsons-web.com
BUT
postman.johnsons-web.com
is my POP server.
Just checking :>) ...
> The error occurs on the open line. I've also tried entering this in the
> rebol console via telnet, and I get the same error.
>
> Any help appreciated.
>
> Matt.
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com