Author |
|
EDS Newbie
Joined: 15 August 2008 Location: France
Online Status: Offline Posts: 1
|
Posted: 15 August 2008 at 7:25am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 15 August 2008 at 2:13pm | IP Logged
|
|
|
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 |
|
|