Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Integration issue Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
EDS
Newbie
Newbie
Avatar

Joined: 15 August 2008
Location: France
Online Status: Offline
Posts: 1
Posted: 15 August 2008 at 7:25am | IP Logged Quote EDS

I have a problem with integration MailBee Webmail Lite with my website. In my file i have:
<?

include('integr.php');
     
     $settings_query=sprintf("SELEC T * FROM settings WHERE contact_id=" .$_SESSION['contact_id']); // requête sur la base administrateurs
     $settings_result = mysql_query($settings_query, $database) or die(mysql_error());
     $has_settings = mysql_fetch_assoc($settings_result);

     $Integr = new CIntegration("http://www.mysite.com/webmail/");
     
     $email = $has_settings['webmail_email'];
     $login = $has_settings['webmail_email'];
     $pass = $has_settings['webmail_password'];
     $pop3server = $has_settings['webmail_pop_account'];
     $smtpserver = $has_settings['webmail_smtp_account'];
     if (!$Integr->UserLogin($email, $login, $pass, $pop3server, $smtpserver,START_PAGE_IS_MAILBOX))
     {
           echo $Integr->GetErrorString();
     }
?>

Then I get redirected to webmail/index.php?error=1 and I get the following error message: "The previous session was terminated due to a timeout."
Back to Top View EDS's Profile Search for other posts by EDS
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 15 August 2008 at 2:13pm | IP Logged Quote Andrew

Are you sure your site passes valid credentials of an e-mail account which already exists on mail server?

Is index.php set as default page for http://www.mysite.com/webmail/?

If you try to log into the same account through standard WebMail login form, does it work fine?

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide