Bug with Lotus Traveler and mails with base64/Quoted-Printable atts

Suppose you have a .txt file having 192 KB. You send this file to a Notes user that only accepts MIME formats. The txt file will be encoded in base64 or QP (Quoted-printable) encoding. Suppose that it uses QP. The Notes recipient will receive the 192KB .txt file but internally talking in the $file this object holding the attachment will have 206 KB. This is what is seen in the $file:

Object Type: File

Object ID: 00006362

Object Length: 211214

File Name: 1.txt

Flags:

Host: MSDOS/OS2

Compression Type: NONE

Encoding Type: QP

File Attributes: RW PUBLIC

File Size: 211214

File Created: 07/01/2010 01:02:30 PM

File Modified: 07/01/2010 01:02:30 PM

In fact while it says 211214 (206 KB) the .txt file after decoded from QP will be 192 KB.

The problem is that when Lotus Traveler synchronizes with my windows mobile, it will report an attachment of 206 KB! And the worst is that after the attachment is downloaded, my mobile will show the 192 KB content and then it will show 206-162=14 KB of garbage since it believes that the att size is 206 KB!!!

This is a problem of the ntraveler.exe server task (particularly the travelerca.dll module)

Subject: question

Is is correct to assume that this problem will occur on any size text file … assuming all other conditions are met? Such as the user only accepting MIME formats.

Subject: it may occur on any file

In fact it’s not only for text files. It may occur in any text file and even if the user has “Keep sender’s format” that is the default, if the incoming email is from internet it will be formatted in MIME.The decision on whether to use base64 or binary for an attachment is taken from the SMTP server so it depends…