#2795 Error in IMAP command APPEND:

closed
nobody
Compose (426)
5
2012-07-18
2012-07-18
Ale
No

Hi everyone!!

I have this problem : when i send an email from squirrelmail, it appears the error : Error in IMAP command APPEND:

Anyways, the mail is sent ok.

Why does this error shows, if the mail arrives correctly to the recipient??

thanks a lot!!! and sorry for my horrible english he ...

Discussion

  • Ale
    Ale
    2012-07-18

     
  • Ale
    Ale
    2012-07-18

    • status: open --> closed
     
  • Ale
    Ale
    2012-07-18

    I Found the solution :

    In the functions directory of your SquirrelMail install, open the imap_general.php file.

    Alter the sqimap_append PHP function by commenting out the line that starts with the fputs function and type in the replacement so it reads as:

    function sqimap_append ($imap_stream, $sent_folder, $length) {
    // fputs ($imap_stream, sqimap_session_id() . " APPEND \"$sent_folder\" (\\Seen) \{$length}\r\n");
    fputs ($imap_stream, sqimap_session_id() . " APPEND \"$sent_folder\" (\\Seen) {" . $length . "}\r\n");
    $tmp = fgets ($imap_stream, 1024);
    sqimap_append_checkresponse($tmp, $sent_folder);
    }