• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Java Mail : what is the host? where it will be?

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm learning JavaMail and its APIs are pretty clear. But, what I didn't get is what should be the value for
"mail.smtp.host" property while getting the Session.

If it is SMTP mail server , where it will be? We should write our own?

And what should be the "host" while connecting to Store? Another POP3 server?

Please clarify ...
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you need a mail server where you can set up accounts. If you don't have one, Apache James is pretty easy to use for experiments. It handles both incoming (pop3, imap) and outgoing (smtp) mail.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!