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


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

Looking For program to send email

Started byclusardi2k@aol.com
First post2012-08-15 11:09 -0700
Last post2012-08-17 22:21 -0400
Articles 4 — 4 participants

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


Contents

  Looking For program to send email clusardi2k@aol.com - 2012-08-15 11:09 -0700
    Re: Looking For program to send email Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-15 14:48 -0400
    Re: Looking For program to send email Roedy Green <see_website@mindprod.com.invalid> - 2012-08-16 02:12 -0700
    Re: Looking For program to send email Arne Vajhøj <arne@vajhoej.dk> - 2012-08-17 22:21 -0400

#17890 — Looking For program to send email

Fromclusardi2k@aol.com
Date2012-08-15 11:09 -0700
SubjectLooking For program to send email
Message-ID<b4c48e35-be42-46d4-a7d4-b3f6f7c34208@googlegroups.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,

[toc] | [next] | [standalone]


#17904

FromEric Sosman <esosman@ieee-dot-org.invalid>
Date2012-08-15 14:48 -0400
Message-ID<k0gqtg$vfi$1@dont-email.me>
In reply to#17890
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

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


#17922

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-08-16 02:12 -0700
Message-ID<aaep28t9qvi933kjif2943d25rupgqrq2e@4ax.com>
In reply to#17890
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 

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


#17976

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-08-17 22:21 -0400
Message-ID<502efc1d$0$284$14726298@news.sunsite.dk>
In reply to#17890
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

[toc] | [prev] | [standalone]


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


csiph-web