Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

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

Joined: 04 March 2008
Location: Lebanon
Online Status: Offline
Posts: 1
Posted: 04 March 2008 at 9:33am | IP Logged Quote paolo

Sir,

I have a php-mysql web application and i want to integrate Webmail 4.1 to it but i can't.
In a php script where the user can send mails to the selected contacts, i used the following:
if($_GET["submit"]=="Send emails to checked items on this page")
{
include('../../webmail/integr.php');

$Integr = new CIntegration();

$email      = 'webmaster@high-net.com';
$login      = 'webmaster';
$pass       = 'zxcvb';
$pop3server = 'mail.high-net.com';
$smtpserver = 'mail.high-net.com';
                
$Integr->UserLogin($email, $login, $pass, $pop3server, $smtpserver);
}

but i am not redirected to the webmail page. I need to be redirected to the webmail page without entering username and pass, and go to send mail page with bcc enabled.     

Pleas help me and send me the full instructions on how to do taht.

Waiting your reply urgently.

Thank you.
Back to Top View paolo's Profile Search for other posts by paolo
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 05 March 2008 at 1:25am | IP Logged Quote Andrew

Replace the following code:

Code:
$Integr = new CIntegration();


with:

Code:
$Integr = new CIntegration('http://server.com/webmail/');


to let the integration script know where it should redirect client's browser to.

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