Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Answer about JavaMail

 
Syed Kazim Hussain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I send and recieve e-mail to localhost:8080(No LAN involved)?
Where will it be placed after I send it?
What is the smptHost?
Do I have to download the smtpHost?
 
Danny Mui
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Mail is like a client, it doesn't do anything mail-wise. You need to install a STMP service (smtpHost) on your computer. JavaMail knows how to speak to a STMP service to receive and send mail.
For Example,
I have Linux installed with Sendmail to send/receive mail. Sendmail controls the receiving (Saved as a big text file for each user).
So, install a mail server before you can start playing with JavaMail.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't really a servlets and JSP problem, and we now have a new forum for other Java APIs including Java Mail, so I've moved this post. I hope you get more answers
 
Syed Kazim Hussain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Danny.
Please can any one recommend me a free mail server I can find on the Web.
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Well like one of us told u Java Mail gives u a client end that U can make it talk to a SMTP, POP3 or imail server.
Well I guess qmail for Linux comes free.. try it..
Regds
Gautham Kasinath
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic