This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I get the following error when I try to send an e-mail using the JavaMail API. javax.mail.NoSuchProviderException: smtp at javax.mail.Session.getService(Session.java:611) at javax.mail.Session.getTransport(Session.java:541) at javax.mail.Session.getTransport(Session.java:484) at javax.mail.Session.getTransport(Session.java:464) at javax.mail.Session.getTransport(Session.java:519)
I have configured the SMTP Host, user name, and password properly. I've also got the necessary jar files in my classpath.
Note that some parts of the code(the one where Criteria object is used) use the Torque persistence layer. You may ignore this part as this is used only for retrieving database records. Also, for security purposes, I have changed the SMTP host and user-name/password. Of course, I've configured these values correctly in the code thta I shall actually be using. [ April 11, 2005: Message edited by: Kedar Dravid ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com