Problem with sending large HTML files as attachment using JavaMail 1.2

Hi dear fellows, i am currently working on posting Emails with attachments using JavaMail 1.2. i succeeded in sending many mimetypes of files as attachments except for .htm and .html files. when large HTML files (say, >100 kB) serve as attachements, the mail is posted on mail server, but not properly posted since only the first small part of the file is writted into mail server but the latter part of the attachment file is missing.

is that a bug of JavaMail? are there any fellows encountering similar problem as i did? any suggestions for me to proceed? hopefully i made myself clear...

Many thanks in advance,

Fatty

[652 byte] By [fattydoggya] at [2007-9-30 23:44:52]
# 1

i've sort of found the cause for that, it is because when the stream write to the mail server, unfortunately there is a "." in a single line. so the server refuse to take any more inputs.

so do i have to remove all the "." in the file manually to avoid this disaster? any suggestions?

Fatty

fattydoggya at 2007-7-7 14:58:45 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...