🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1691

Re: JavaMail

#1691
From: Frank Zhu
Date: Sat, 06 Oct 2001 04:23
44 lines
2273 bytes
I am trying to use javamail too. hope I will run into the same problem that
you ran into.

"Gerald Sabin" <GeraldS@nistardata.com> wrote in
message:3b65b21d$1_2@dnews...
> 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: <3bbe8721_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews
References: <3b65adea_2@dnews> <3b65b21d$1_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-10-05 21:31:03 PST
From: "Frank Zhu" <frankzyz@etang.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3b65adea_2@dnews> <3b65b21d$1_2@dnews>
Subject: Re: JavaMail
Date: Sat, 6 Oct 2001 12:23:56 +0800
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 202.105.146.68
Message-ID: <3bbe8721_2@dnews>
X-Trace: dnews 1002342177 202.105.146.68 (5 Oct 2001 21:22:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews