Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6456415
Votes 2
Synopsis 8bit messages created from stream are not converted to 7bit
Category java_mail:smtp
Reported Against
Release Fixed
State 3-Accepted, bug
Priority: 4-Low
Related Bugs
Submit Date 02-AUG-2006
Description
FULL PRODUCT VERSION :
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
 customer  Windows XP [Versione 5.1.2600]
Linux xxxx.xxxx.xxx 2.6.9-022stab078.9-enterprise #1 SMP Thu Jun 8 12:38:51 MSD 2006 i686 athlon i386 GNU/Linux


EXTRA RELEVANT SYSTEM CONFIGURATION :
Input mail contains 8bit parts, remote server does not support 8bitmime

A DESCRIPTION OF THE PROBLEM :
Javamail smtp transport does not check the remote server to see wether it supports 8bitmime before sending 8bit mails.
This is not a problem with messages created via apis, but it is an issue when the message come from a stream and already contains 8bit chars.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a message from stream.
Be sure that this message contains a "Content-Transfer-Encoding: 8bit" and 8bit content.
Send it to an smtpserver that do not support the ESMTP 8BITMIME extension.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When a MimeMessage is created from a stream, the stream contains 8bit contents (Content-Transfer-Encoding: 8bit) and we send it to a remove server not supporting 8bitmime Javamail should automatically convert the content to 7bit.

ACTUAL -
The message is not converted and is refused/corrupted by the remote server.

REPRODUCIBILITY :
This bug can be reproduced always.
Posted Date : 2006-08-02 18:22:38.0
Work Around
N/A
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang