Article View: borland.public.jbuilder.java.api
Article #1881Re: JavaMail
From: Gerald Sabin
Date: Mon, 30 Jul 2001 19:14
Date: Mon, 30 Jul 2001 19:14
32 lines
1959 bytes
1959 bytes
Sorry, I had spent a lot of time on this, posted the message than found the answer myself :). Jerry Gerald Sabin <GeraldS@nistardata.com> wrote in message news:3b65adea_2@dnews... > Hello, > I am trying to use JavaMail. This is the first package not bundled with > jdk1.3 or written by myself, that I have ever tried to use...and well I can > not get it to work. I download, unzipped, and added the packages to my > project. If I type "import javax.mail." I get the list of classes... Yet > whenever I try to compile I get the following error: > "SendMail.java": Error #: 300 : class Session not found in class SendMail at > line 20, column 5 > > If I use the entire name of the class I get the followin error: > "SendMail.java": Error #: 302 : cannot access class javax.mail.Session; > class javax.mail.Session not found in stable package at line 20, column 16 > > Do I need to "register" this class somewhere else...? > > I really am at a lose here and just need a kick start in the right > diretion...if anyone has any ideas on what I am doing wrong please let me > know... > > Jerry > >
Technical Details
Message-ID:
<3b65b21d$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b65adea_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,153ce2e9f494f942 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-07-30 12:15:35 PST From: "Gerald Sabin" <GeraldS@nistardata.com> Newsgroups: borland.public.jbuilder.java.api References: <3b65adea_2@dnews> Subject: Re: JavaMail Date: Mon, 30 Jul 2001 15:14:49 -0400 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 64.109.195.218 Message-ID: <3b65b21d$1_2@dnews> X-Trace: dnews 996520477 64.109.195.218 (30 Jul 2001 12:14:37 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews