Meaningless Drivel is fun!
The moose likes Other JSE/JEE APIs and the fly likes Where the heck is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Where the heck is" Watch "Where the heck is" New topic

Where the heck is

Alex Ryan

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:
I can't find that class anywhere.
If someone happens to know where it is, could you please let me know?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

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

Joined: Aug 12, 2009
Posts: 14
Thanks very much for the pointer.
The sample code provided enabled me to get this working.
I agree. Here's the link:
subject: Where the heck is
It's not a secret anymore!