[REBOL] Re: email from rebol
From: gscottjones::mchsi::com at: 29-Oct-2002 6:34
From: "bryan"
> I try to do the following:
>
> Read-mail: read pop://user/account:[password--itnisk--com]
> And get an error, now this is the way I have to set up my pop3 account
> on Outlook or Mozilla, so it should be possible to set it up in the same
> way in rebol right?
> I'm supposing Rebol is being thrown by the / in between user and the
> account, is there a way to escape that.
Hi, Bryan,
The best answer may depend on the pop server. The simplest thing to try is:
read-mail: read pop://user%2Faccount:[password--itnisk--com]
An alternative approach may be to try:
read-mail: read [
scheme: 'pop
host: "itnisk.com"
user: "user/account"
pass: "password"
]
If you are feeling adventuresome, you can see if the following patch works
(I have no easy way to test it):
net-utils/url-parser/user-char: union net-utils/url-parser/user-char make
bitset! "/"
;then
Read-mail: read pop://user/account:[password--itnisk--com]
It would be helpful for the future to know if any/all of these work
(especially the last).
Best of luck.
--Scott Jones