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.
The moose likes Other JSE/JEE APIs and the fly likes Where the heck is com.sun.net.ssl.internal.ssl.Provider? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Where the heck is com.sun.net.ssl.internal.ssl.Provider?" Watch "Where the heck is com.sun.net.ssl.internal.ssl.Provider?" New topic
Author

Where the heck is com.sun.net.ssl.internal.ssl.Provider?

Alex Ryan
Greenhorn

Joined: Aug 12, 2009
Posts: 14
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?
Thanks,
Alex
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18711
    
    8

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?"
Alex Ryan
Greenhorn

Joined: Aug 12, 2009
Posts: 14
Paul,
Thanks very much for the pointer.
The sample code provided enabled me to get this working.
~Alex
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where the heck is com.sun.net.ssl.internal.ssl.Provider?