Hi Chris,

you wrote:
>  user: to-string [EMAIL PROTECTED]
>  mail: read pop://user:[EMAIL PROTECTED]

the problem is that user is not dereferenced. REBOL tries to log in using
the user name "user"

>> pop: pop://user:[EMAIL PROTECTED]
== pop://user:[EMAIL PROTECTED]
>> type? pop
== url!

as you can see here:
>> print pop
pop://user:[EMAIL PROTECTED]

The following may work (i.e. user will be dereferenced, but I don't know
whether REBOL will successfully log in. You don't need to convert to string):

>> user: [EMAIL PROTECTED]
== [EMAIL PROTECTED]
>> pass: 'some-password
== some-password

>> pop: rejoin [pop:// user ":" pass "@mail.serve.com"]
== pop:[EMAIL PROTECTED]:[EMAIL PROTECTED]
>> type? pop
== url!
>> print pop
pop:[EMAIL PROTECTED]:[EMAIL PROTECTED]

See, here user and pass are dereferenced and replaced by their respective
values. You could try:
>> read rejoin [pop:// user ":" pass "@mail.serve.com"]

Please let me know whether it works.

;- Elan >> [: - )]

Reply via email to