Article View: borland.public.jbuilder.java.api
Article #1880JavaMail
From: Gerald Sabin
Date: Mon, 30 Jul 2001 18:56
Date: Mon, 30 Jul 2001 18:56
20 lines
1734 bytes
1734 bytes
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:
<3b65adea_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,153ce2e9f494f942,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-07-30 12:03:10 PST From: "Gerald Sabin" <GeraldS@nistardata.com> Newsgroups: borland.public.jbuilder.java.api Subject: JavaMail Date: Mon, 30 Jul 2001 14:56:54 -0400 Lines: 22 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: <3b65adea_2@dnews> X-Trace: dnews 996519402 64.109.195.218 (30 Jul 2001 11:56:42 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews