Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaMail - What additional setup is required to send email using JavaMail?

 
shreyas patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the name suggests, JavaMail API is interface. Where can we find implementation of this API?

In other words, what addtional setup is required to send email using the JavaMail API? Any additional hardware/software required?

Other question is what is better option?
1 EmailSender SessionBean -> EmailSenderAdapter -> EmailServer(Implemetation of JavaMail)
2 EmailSender SessionBean -> EmailDAO
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this discussion to "Other Java APIs" forum.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

As the name suggests, JavaMail API is interface. Where can we find implementation of this API?

You can get it from Sun since its their product.

The only real extra requirement is an SMTP server.

Not sure I understand your last question. A DAO is a pattern normally associated with a persistance layer, are you intending to persist mesjsages before sending them?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic