This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes E-mail through Java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "E-mail through Java application" Watch "E-mail through Java application" New topic
Author

E-mail through Java application

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
Hi,
I have Java application running on Windows 2000 advanced server(which has SMTP running). Is there any API which I can use to send e-mail outside intranet? If yes, please send me link or simple example.
Thanks,
Angela
Steve Deadsea
Ranch Hand

Joined: Dec 03, 2001
Posts: 125
Use JavaMail:
http://java.sun.com/products/javamail/
The JavaDoc for it is here:
http://java.sun.com/products/javamail/javadocs/
JGuru has a FAQ for it:
http://www.jguru.com/faq/JavaMail
It comes with an examples directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: E-mail through Java application