View Single Post
  #1 (permalink)  
Old 08-05-2007, 03:27 AM
oregon oregon is offline
Member
 
Join Date: Jul 2007
Posts: 41
oregon is on a distinguished road
Java mail api exception
I'm trying to use the java mail api.
this is my code, I hope you can help me
Code:
Properties properties = System.getProperties(); properties .put("mail.smtp.host", host); Session session = Session.getDefaultInstance(properties , null); Message msg = new MimeMessage(session);
and this is the error:
Code:
java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream"
Reply With Quote
Sponsored Links