Can anyone explain clearly...
Have you installed javamail-1.4? If so you could've noticed a 'demo' directory
that contains working code examples and the comments clearly explain
everything you always wanted to know about the Java Mail API. Of course
there's also complete documentation for the entire API; all you have to do is
read the stuff. Reading is still one of the most important methods to understand
what programming and using APIs is all about.
kind regards,
Jos