In the final testing and debugging of a new IMAP server that presents the 
contents of a Document Managment System Folder Hierarchy in IMAP 
Folders.  Content may be email messages with Attachments added to the 
DocMan Store from the IMAP server via Append when a message is dragged or 
dropped or ruled into a Folder in that DocMan IMAP Hierarchy.

Append is working fine with Outlook Express and Outlook 2000, but hangs 
from Netscape email client.

Apparently Outlook Express and Outlook 2000 send the append command and 
wait for the
"+ Ready" response and I have that handled ok.  The message and all its 
parts are brought down and written to a temp file.  When I see the last 
four of a chunk equal to crlf + crlf  or "--" + crlf, I assume the message 
is ended and parse the message into an object and store it and I send a

tag SP OK APPEND Completed

otherwise I send another "+ Ready" and another chunk comes down.

Netscape appears to concatenate another command at the end of the message chunk

tag select "parent path"  for the parent where the message is 
intended...that screws up my logic above and the command never completes as 
my server is waiting for data and netscape is done and waiting for a response.

So do I need to parse the first chunk for header lines and pull out the 
boundary string and detect that as well?  I suppose that is better than 
checking the chunk for crlf + crlf or "--" + crlf, even though that works 
for Outlook*.

opinions on best course of action appreciated.


Michael Oliver
Chief Technology Officer
AppsAsPeers.com
7391 S. Bullrider Ave.
Tucson, AZ 85747
520.574.1150

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

Reply via email to