Re: POP3 as URL
Jim Cromie <[email protected]> Tue, 27 Dec 2005 06:20:45 -0700
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Max Waterman wrote: > Hi, > > I tried to use a Mail::Box::Manager->open() method on a POP3 server > specified as an URL, in a similar way to the example : > > pop3://user:[email protected]:101 > > unfortunately, both my 'user' and 'password' contain '@'. I suspect > usernames and, particularly, passwords containing ':' would also be a > problem. > > I see a comment about url-encoding the password, but my attempts to do > this failed. > > Can someone give me an example of encoding usernames and passwords so > that I can specify the server as a URL (it's so much cleaner, IMO)? > > Thanks! > > Max. > > try url-encoding those chars (ex %2e ) with approp value replacing the 2e