|
From: Lier D. <li...@ho...> - 2002-06-19 10:07:23
|
>What I have found in the IMAP server's syslog is something like:
>
>Command stream end of file, while reading line user=\1a\1w\1a\1y\1
>
>The actual user name is "away". So looks like the scripts are sending out
>wrong user name to the IMAP server. I can however using telnet to log in to
>the IMAP server. Why is \1 is added to the user name is beyond me.
Looks like I have tracked down the problem.
In the sqimap_login function. It has:
$query = 'LOGIN "' . quoteIMAP($username) . '" "' . quoteIMAP($password)
After removing quoteIMAP from the line. The thing are back to life. I have
attached the quoteIMAP function here:
function quoteIMAP($str) {
return ereg_replace('(["\\])', '\\\\1', $str);
}
I went through the archives and there seem to be quite few similar problems
reported.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
|