Reading Large Email Attachments


We use an IMAP email reader to process files sent as email attachments - plain text files, and they are usually about 2 megs in size. Sometimes, WM is unable to read the entire file for whatever reason (maybe mail server timed out before the entire file was read), and sometimes the TN document does not have the entire contents of the file, its usually missing about a dozen lines. The email header information that gets passed to the service contains nothing about content size, so there is no way to check if received size equals expected size. Does anyone have any ideas as to how we can validate the incoming file size, perhaps by being able to read the file size on the mail server? Also, any ideas on how we can increase the timeout interval on an email port configured thru the IS web console?