日期:2014-05-17  浏览次数:20777 次

请教大神 java mail问题?
            /*    Multipart mp=new MimeMultipart();
BodyPart bp=new MimeBodyPart();
bp.setContent(bp, "<html><head></head><body>你好</body></html>");
mp.addBodyPart(bp);*/

message.setContent("hello", "image/ss.jpg");   //image 在src目录下
// message.setText("hello javaMail");
message.setSubject("imageTest2");

为什么发送出去的附件老是 tcmime.1336.1336.1345.bin  求大神解决。谢谢啦。
javamail

------解决方案--------------------
楼主看看我的博客就知道了
http://blog.csdn.net/zfz1214/article/details/8566875