Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

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

Joined: 15 April 2010
Location: United States
Online Status: Offline
Posts: 2
Posted: 15 April 2010 at 10:15pm | IP Logged Quote SoLinked

Fatal error: Class 'CIntegration' not found in

I keep getting that no matter what example I try to pass the login info.

<?php
include('http://localhost/webmail/integr.php');
$Integr = new CIntegration('http://localhost/webmail/');

$mail = 'mymail@gmail.com';
$login = 'mymail';
$pass = 'mypassword';

$Integr->UserLoginByEmail($mail, $login, START_PAGE_IS_MAILBOX, $pass);
?>

What am I missing?
Back to Top View SoLinked's Profile Search for other posts by SoLinked
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 April 2010 at 1:52am | IP Logged Quote Igor

According to integration API docs, you should use filesystem path with include, not URL. That would be something like:

Code:
include('webmail/integr.php');


Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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