This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I suppose it's possible that you might have more than a theoretical question. In case you were interested in how to do that, go to the JavaMail section of the Ranch's JavaEnterpriseEditionFaq and follow some of the links there. Also there are example programs in the JavaMail download.