File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes to set path of SMTP and POP3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "to set path of SMTP and POP3" Watch "to set path of SMTP and POP3" New topic

to set path of SMTP and POP3

gaurav chhabra
Ranch Hand

Joined: Jul 24, 2004
Posts: 109
hello sir

i m old to java but new to java mail.........
i m intrested in making a mail application and in several tutorials i have read that we have to set SMTP and POP server.........but i can only work on my machine and does not know my SMTP and POP3 server name .so what shoud i do.........
i m desperete to make this mail application.........
plz help me out.....................plz please

thank you
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd suggest setting up an SMTP mail server on your own computer for test purposes. I did a search for "smtp mail server free" on google and got lots of hits.

Consultant, Sima Solutions
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
Java Mail API cannot be used as a mail server. It can only be used as a mail client.

For sending mails using Java Mail API, you can try connecting to pop3 servers of free email accounts. yahoo and hotmail provide pop3 access at some cost.

SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.
I agree. Here's the link:
subject: to set path of SMTP and POP3
It's not a secret anymore!