[imp] session expire after snoopy successfully post data

jkpsj jkpsj at yahoo.com
Tue Jan 28 23:52:46 PST 2003


php4.3/horde2.2/imp3.2

i tried a simple code below to post direct to IMP login screen.
as soon as i ran the script, i can see the INBOX screen with all the mails there.
then if i click on an email to open it, IMP kicked me out to the login screen with reason=session
(Your Mail session has expired. Please login again)

my horde.log looks like:
Jan 29 15:16:05 HORDE [notice] [imp] Login success for jkpsj [192.168.1.32] to
{imap.example.com:143} [on line 83 of "/export/home/httpd/horde/imp/redirect.php"]

what else do i need to make this happen ? please help.

script:
<?
include "Snoopy.class.inc";
$snoopy = new Snoopy;

$submit_url = "http://mail.example.com";

$submit_vars["actionID"] = "105";
$submit_vars["url"] = "";
$submit_vars["mailbox"] = "INBOX";
$submit_vars["imapuser"] = "jkpsj";
$submit_vars["pass"] = "xxxxx";
$submit_vars["server"] = "imap.example.com";
$submit_vars["realm"] = "";
$submit_vars["maildomain"] = "example.com";
$submit_vars["port"] = "143";
$submit_vars["namespace"] = "INBOX.";
$submit_vars["protocol"] = "imap/notls";

$snoopy->submit($submit_url,$submit_vars);
print $snoopy->results;

?>


--
jkpsj

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the imp mailing list