Re: Exception while sending mail through GNU JavaMail API.

Chris Burdess <[email protected]> Tue, 8 Dec 2009 11:29:30 +0000
Newsgroups gmane.comp.java.classpath.extensions.javamail
Message-ID <[email protected]>
Dhaval Yoganandi wrote:
> |                  InputStream source =3D *new* =
FileInputStream(file);|
>=20
> |                  MimeMessage mimeMessage =3D *new* =
MimeMessage(mailSession,source);|
>=20
> |                  mimeMessage.setHeader("Content-Type", =
"multipart/mixed");|
>=20
> |                  Transport./send/(mimeMessage);|
>=20
>=20
> and I am getting following exception while sending the mail. The code =
is working fine with sun JVM and the javamail (not GNU javamail) =
library.

This bug is now fixed in CVS HEAD.
--=20
Chris Burdess