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

[479 byte] By [lildavesflavaa] at [2007-11-27 4:49:18]
# 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.

bshannona at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
i solve i import the jar file in my project nd it wokrs fine tx
lildavesflavaa at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 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

lildavesflavaa at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
I need more details.I don't understand what "do not recognise classes as Session Transport" means.Does the code compile? Does it run? Does it fail with an exception?Which exception?
bshannona at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 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

lildavesflavaa at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 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.

bshannona at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
i did understant that i have an import statement and i also did import the jar file in the project still not working
lildavesflavaa at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8
Seems like you're left with two explanations:1. You're doing something wrong.2. Eclipse is broken.Neither of those is a JavaMail issue, and you'll likely find better helpin some Eclipse support forum. Sorry.
bshannona at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9
"you doing something wrong"I know. if i wasn t i wouldn t be on this forum.Tx anyway
lildavesflavaa at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 10
I was using the import function available in the menu instead i used the import function under properties in the right click menu and i was able to import properly the needed classes in the librariestx everybody
lildavesflavaa at 2007-7-12 10:02:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...