[imp] Login to IMP via string

Graham Frank gfrank at neoservers.com
Sat Dec 3 17:56:48 PST 2005



Hello all.

I've been trying to find a way to be able to offer a login box for my clients
that includes a Horde/Imp login options.  Right now, it's a general purpose
login box where they choose what they want to login to, provide the details,
and click submit.

For Horde/Imp logins, I have it execute the following code:

==begin code==

$url = "http://{hostname}/horde/imp/redirect.php";
$url .= "?mailbox=INBOX";
$url .= "&load_frameset=1";
$url .= "&server=127.0.0.1";
$url .= "&port=144";
$url .= "&protocol=imap";
$url .= "&folders=INBOX";
$url .= "&imapuser=$log_user";
$url .= "&pass=$log_pass";
$url .= "&new_lang=en_US";

header("Location: $url");

==end code==

Obviously, the above isn't going to work as I have yet to successfully get it to
login to Horde/Imp.  I'm guessing that I need to trigger some internal componant
to Horde/Imp, so exactly is it?

Any help would be great!  Thanks much!

---------------------------------------------------
Graham Frank





More information about the imp mailing list