Java mail on mac os
I am new with Java mail
I research throug internet and i end up downloading javamail 1.4
in the read me file there some directions to install javamail package on window, linux and unix.
does it mean since i have a mac i can not install it?
if i can how?am using eclipse 3.2 and jvm 1.5 mac os
i try to add a import javax.mail.* in my code but eclipse does n recognize it
What should i do to get this rolling
Thanks for your help
# 1
Mac OS X is a variant of UNIX, follow those instructions if you're
using the "java" and "javac" commands from the command line.
If you're using an IDE like Eclipse or NetBeans, you'll probably need
to do something different to import the mail.jar and activation.jar
files into your project.
# 3
I did import those file successfully in my program but it happens that eclipse still do not recognise classes as Session Transport which are required to send a mail.
I am running eclipse 3.3 on macos x with wtp plug in installed
I am missing something?
The code did work fine in netbeans but i would like to stick with eclipse ang get this rolling.
What do i need to download? a new plug in? jssee?
Thanks in advance
# 5
Eclipse underlines them as world which do not have a sense
if i try to compile i will receive error compilation exception
I need those classes to send the mail(Session and Transport)
Iimport their package with the statement import javax.mail.*; but i still have the same issue
Even after importing javax.mail.jar in my project i still have the same issue
# 6
I think we've been around this loop once already, and I thought you
said earlier that it was working.
When I say "import the jar file", I don't mean "add an import
statement in your Java source code" (although you need to do
that as well). I mean that you have to do something in your
Eclipse project to tell it where to find the mail.jar file and add
it to your project. Sorry, I'm not an Eclipse user so I can't tell
you exactly how to do that.