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


Groups > comp.lang.java.programmer > #17905 > unrolled thread

Looking For program to send email

Started by"clusardi2k" <clusardi2k@1:261/38.remove-73m-this>
First post2012-08-15 19:38 +0000
Last post2012-08-18 18:36 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Looking For program to send email "clusardi2k" <clusardi2k@1:261/38.remove-73m-this> - 2012-08-15 19:38 +0000
    Re: Looking For program to send email "Eric Sosman" <eric.sosman@1:261/38.remove-s96-this> - 2012-08-16 19:16 +0000
    Re: Looking For program to send email "Roedy Green" <roedy.green@1:261/38.remove-s96-this> - 2012-08-16 19:16 +0000
    Re: Looking For program to send email "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-rj6-this> - 2012-08-18 18:36 +0000

#17905 — Looking For program to send email

From"clusardi2k" <clusardi2k@1:261/38.remove-73m-this>
Date2012-08-15 19:38 +0000
SubjectLooking For program to send email
Message-ID<502BF266.56852.calajapr@time.synchro.net>
From: clusardi2k@aol.com

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

Thank you,

--- 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

[toc] | [next] | [standalone]


#17926

From"Eric Sosman" <eric.sosman@1:261/38.remove-s96-this>
Date2012-08-16 19:16 +0000
Message-ID<502D38BF.56872.calajapr@time.synchro.net>
In reply to#17905
  To: clusardi2k
From: Eric Sosman <esosman@ieee-dot-org.invalid>

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

http://www.oracle.com/technetwork/java/javamail/index.html

--
Eric Sosman
esosman@ieee-dot-org.invalid

--- 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

[toc] | [prev] | [next] | [standalone]


#17942

From"Roedy Green" <roedy.green@1:261/38.remove-s96-this>
Date2012-08-16 19:16 +0000
Message-ID<502D38C2.56890.calajapr@time.synchro.net>
In reply to#17905
  To: clusardi2k
From: Roedy Green <see_website@mindprod.com.invalid>

On Wed, 15 Aug 2012 11:09:43 -0700 (PDT), clusardi2k@aol.com wrote, quoted or 
indirectly quoted someone who said :

>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.

you have to download them and ensure they are installed on the client. See 
http://mindprod.com/jgloss/javamail.html

see http://mindprod.com/products1.html#BULK for sample use.
--
Roedy Green Canadian Mind Products http://mindprod.com A new scientific truth 
does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up 
that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04

--- 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

[toc] | [prev] | [next] | [standalone]


#18013

From"Arne Vajhøj" <arne.vajhøj@1:261/38.remove-rj6-this>
Date2012-08-18 18:36 +0000
Message-ID<502FD853.56954.calajapr@time.synchro.net>
In reply to#17905
  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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web