File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2SE E-mail

 
Jon Parise
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone,

I was wondering if anyone could inform me about sending e-mail with Java SE. I'm really not sure what class handles this, or even if there is one for it. All I really want to do is have my Java SE application send e-mails to alert users. Everything I found through Googling regarding e-mails was J2EE.

All I really need is direction on where to look, but an example would be great too.

Thanks,

Jon
 
Joe Matthew
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this link
 
Jon Parise
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks that is exactly what I needed!
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaMail allows one to access a mail server when using J2SE or J2EE. It's of little help if no mail server is available. That's when you need Aspirin - as embeddable email server. It's perfect if you just need to send email (and not receive it), since it doesn't rely on an external email server being available.
 
Jon Parise
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf,

Aspirin and Java Mail sound like just what I need. I've downloaded both and will try incorporating them into my App when I get a chance. It one of those "You can work on this project in your spare time" applications. As if Engineers ever have "spare time"....

Thanks for the replies,

Jon
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic