Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18213

Re: Looking For program to send email

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail
From "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-fzq-this>
Subject Re: Looking For program to send email
Message-ID <50327C38.57138.calajapr@time.synchro.net> (permalink)
X-Comment-To clusardi2k
Newsgroups comp.lang.java.programmer
In-Reply-To <502FE75B.56962.calajapr@time.synchro.net>
References <502FE75B.56962.calajapr@time.synchro.net>
X-FTN-AREA COMP.LANG.JAVA.PROGRAMMER
X-FTN-MSGID 1:261/38 efd44941
X-FTN-REPLY 1:261/38 e121ff81
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98]
Lines 62
Date Mon, 20 Aug 2012 18:58:27 GMT
NNTP-Posting-Host 69.21.70.65
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1345489107 69.21.70.65 (Mon, 20 Aug 2012 13:58:27 CDT)
NNTP-Posting-Date Mon, 20 Aug 2012 13:58:27 CDT
Organization tds.net
Xref csiph.com comp.lang.java.programmer:18213

Show key headers only | View raw


  To: clusardi2k
From: "Arne Vajhoj" <arne.vajhoj@1:261/38.remove-8mo-this>

  To: clusardi2k
From: "Arne Vajhoj" <arne.vajhoj@1:261/38.remove-v8v-this>

  To: clusardi2k
From: "Arne Vajhoj" <arne.vajhoj@1:261/38.remove-7rm-this>

  To: clusardi2k
From: "Arne Vajhoj" <arne.vajhoj@1:261/38.remove-rj6-this>

  To: clusardi2k
From: Arne Vajhoj <arne@vajhoej.dk>

On 8/15/2012 2:09 PM, clusardi2k@aol.com wrote:
> Does anyone know how to send email.
>
> Example projects on the Internet don't work for me because the IDE tells me
packages do not exist.
>
> For example,
>
> import javax.mail.*;          //Package does not exist
> import javax.mail.internet.*; //Package does not exist

For some reason email in Java is part of Java EE not part of Java SE.

If you are developing for a Java EE environment just add some Java EE jar file 
to your IDE's classpath and you are good.

The classes will be there at runtime.

If you are developing for a Java SE environment you need to get the JavaMail 
(and its dependency JAF) and put it in classpath for both IDE and runtime.

Arne

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Looking For program to send email "clusardi2k" <clusardi2k@1:261/38.remove-7rm-this> - 2012-08-18 19:37 +0000
  Re: Looking For program to send email "Eric Sosman" <eric.sosman@1:261/38.remove-v8v-this> - 2012-08-19 18:11 +0000
  Re: Looking For program to send email "Roedy Green" <roedy.green@1:261/38.remove-v8v-this> - 2012-08-19 18:11 +0000
  Re: Looking For program to send email "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-fzq-this> - 2012-08-20 18:58 +0000

csiph-web