PHP Classes

sasl.php + imap_open

Recommend this page to a friend!

      Simple Authentication and Security Layer  >  All threads  >  sasl.php + imap_open  >  (Un) Subscribe thread alerts  
Subject:sasl.php + imap_open
Summary:using sasl.php + imap_open for ms exchange 2003
Messages:3
Author:izan
Date:2009-12-08 07:30:30
Update:2009-12-13 14:39:45
 

  1. sasl.php + imap_open   Reply   Report abuse  
Picture of izan izan - 2009-12-08 07:30:30
Manuel Lemos,

Thanx for the sasl.php package. Its a work of a genius.

I have successfully used imap_open php functions to connect to many imap servers but due to sasl-ntlm requirements in ms exchange i hv failed.

Do u have any idea how i can use sasl.php in imap_open?

imap_open coding is as follows;

$mailhost={mail.linux-house.net:143/imap/notls/readonly}INBOX
$mbox = imap_open ($mailhost,$username,$password);


how do i use sasl.php to offer passwd in ntlm mechanism?

thanx.


  2. Re: sasl.php + imap_open   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-12-08 08:07:32 - In reply to message 1 from izan
I do not think you can do anything the imap_open function.

You may try hacking a pure PHP IMAP class to use the SASL package. I did not developed one, but you may look at this other by another author:

phpclasses.org/imap

  3. Re: sasl.php + imap_open   Reply   Report abuse  
Picture of izan izan - 2009-12-13 14:39:45 - In reply to message 2 from Manuel Lemos
thanx for replying...i appreciate you took the time to reply.

the other author has too many questions unreplied, so therefore i feel i may be getting into too deep waters.

but thanx anyway. as of 13 dec 2009, my understanding is that php 5.3. may have the php-imap extension improved for this issue.


thanx.