Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaMail breaks when attachment names have spaces.

843834Aug 18 2009 — edited Aug 19 2009
Hi
I am reading mail from gmail and wants to save attachment.
Javamail breaks when i use either getDisposition or getFileName method when attachment name has a space.
I know its against the spec but it is breaking my code.
Is there any work around this.
Regards
Saurabh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2009
Added on Aug 18 2009
9 comments
621 views