Author |
|
paolo Newbie
Joined: 04 March 2008 Location: Lebanon
Online Status: Offline Posts: 1
|
Posted: 04 March 2008 at 9:33am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 05 March 2008 at 1:25am | IP Logged
|
|
|
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 |
|
|