• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this discussion to "Other Java APIs" forum.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic