This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am trying to use JavaMail to send e-mail via gmail.
I've found some code samples that show how to do this but they all require this class: com.sun.net.ssl.internal.ssl.Provider.
I can't find that class anywhere.
If someone happens to know where it is, could you please let me know?
You have probably searched the Internet (No, I'm not complaining that you did that) and found some out-of-date code examples. Forget about them. Instead, have a look at the JavaMail FAQ, in particular the topic headed "How do I access Gmail with JavaMail?"
Joined: Aug 12, 2009
Thanks very much for the pointer.
The sample code provided enabled me to get this working.