瀏覽代碼

Quoted the login session to hopefully fix some bugs

Luke Ehresman 25 年之前
父節點
當前提交
b318821249
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      ChangeLog
  2. 1 1
      functions/imap.php

+ 3 - 0
ChangeLog

@@ -8,6 +8,9 @@ Version 0.3pre1 -- Development
     Wrap incoming text at XX characters
     Wrap incoming text at XX characters
     Editor window size (in characters)
     Editor window size (in characters)
 - Rewrote SMTP functions.  It now works and handles error correction.
 - Rewrote SMTP functions.  It now works and handles error correction.
+- Only folders that you're subscribed to will be listed
+- Fixed a bug in outbound messages that translated " into \"
+- Added themes in distrobution (7 total)
 
 
 
 
 
 

+ 1 - 1
functions/imap.php

@@ -100,7 +100,7 @@
       $serverInfo = fgets($imapConnection, 256);
       $serverInfo = fgets($imapConnection, 256);
  
  
       // login
       // login
-      fputs($imapConnection, "a001 LOGIN $username $key\n");
+      fputs($imapConnection, "a001 LOGIN \"$username\" \"$key\"\n");
       $read = fgets($imapConnection, 1024);
       $read = fgets($imapConnection, 1024);
       if ($debug_login == true) {
       if ($debug_login == true) {
          echo "SERVER SAYS: $read<BR>";
          echo "SERVER SAYS: $read<BR>";