wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Java mail not getting imported on Eclipse Europa Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Java mail not getting imported on Eclipse Europa" Watch "Java mail not getting imported on Eclipse Europa" New topic
Author

Java mail not getting imported on Eclipse Europa

Nitin Menon
Ranch Hand

Joined: Jun 13, 2007
Posts: 79
Hi,
I am writing a mailer program. I use Eclipse Europa, I am not being able to import any of the mail components.
That is, the following code is show errors (The error is Cannot be Resolved)


import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.Message.RecipientType;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
Can anyone please help me..?
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
You need to add the javamail library to your classpath.
Nitin Menon
Ranch Hand

Joined: Jun 13, 2007
Posts: 79
Thank you very much..! Had already added the jar files. Seems my IDE was actually corrupted. Got it fixed it anyway..!
Thanks Anyways..!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java mail not getting imported on Eclipse Europa
 
Similar Threads
Where to Find JAXB Plugin for Eclipse Europa?
Running Servlet in eclipse europa
which software should I use ?
ide problem
Struts in Eclipse Europa