Register / Login
Win a copy of
Getting started with Java programming language
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java Micro Edition
importing jar/packages into j2me app
posted 7 years ago
i am developing a j2me app and need to import the following as i need to send emails from the app:
//import java.util.Properties; //import java.util.Map.*; //(not sure which package to use. advice?) import javax.mail.*; import javax.mail.internet.*; //(needs mail.jar) import javax.activation.*; //(needs activation.jar)
However i it says that the packages do not exist
i then add the mail.jar and activation.jar files to the resources required and those errors then go away - when i want to build the application though i get the following error:
Error preverifying class com.sun.mail.handlers.message_rfc822
Any advice on what i
do or a different way to use the jar files?
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
problem with sending email/jsp
Html Format Mail
Javamail Exception in thread "main" java.lang.NoClassDefFoundError:
send a mail through servlet