> I am using a java bean class to send the email. I have added all the > Java Mail APIs to the buildpath->Add External Archives.
This make me think you are using Eclipse. > [INFO] 16 errors This make me think you are building with Maven. So add the jars as dependencies in your pom.xml and run Maven with additional goal eclipse:eclipse. So you "add your jars" to Maven and Maven "adds the jars" to Eclipse. Jan