File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Need Answer about JavaMail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need Answer about JavaMail" Watch "Need Answer about JavaMail" New topic

Need Answer about JavaMail

Syed Kazim Hussain

Joined: Dec 14, 2000
Posts: 8
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

Joined: Dec 14, 2000
Posts: 42
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

Joined: Jan 07, 1999
Posts: 6920
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

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Need Answer about JavaMail
jQuery in Action, 3rd edition