Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: POP3 username issues

From: ingo:2b1 at: 20-Jan-2004 16:38

Hi Chris, Chris White wrote:
> All, > > I know that the form for pop3 access is [ > pop3://username:[password--host--com] ], but my problem is that the username > is in the form [user--domain--com] (ie. [webmaster--securesystem--info] ). The > problem with that is I now have 2 @'s in my string, and I believe that > rebol is incorrectly parsing them. Any quick solutions or maybe I just > read something wrong. Thank you in advance for your help!
in Rebol, there mostly is a quick and dirty way to do things, which works most of the time, and a more elaborate way for the remaining cases. In your case you should open the port directly, like this:
>> p: open [
scheme: 'pop user: "your username" pass: "your password" host: "your mail-host" ]
>> length? p
== 22
>> first p
== {Return-path: <> Envelope-to: [ingo--localhost] Received: from localhost ([127.0.0.1] ident=ingo) ^-by smrgol.2b1.de with esmtp (Ex...
>> close p
I hope that helps, Ingo<