Java Forums › Java Forum › Java in General › how to use SMTP mail server an (imported from the old forum)
how to use SMTP mail server an (imported from the old forum)All questions and answers regarding Java
| View previous topic :: View next topic |
| Author |
Message |
aalex Site Admin


Joined: Dec 02, 2003 Posts: 78
|
Posted: Tue Dec 02, 2003 1:10 pm Post subject: how to use SMTP mail server an (imported from the old forum) |
|
Hi
I am trying to make a mail server, i need an smtp server, i have.
how can i use it. I am using the java mail api
i understand sending a message, but at what url/host name
suppose can i send an email to some account at hotmail form my
personal mail server then,
what we mean by
xxxxxxx @ XXXXX.com
in case of local host/my pc not internet what type of host name i should use
|
|
| Back to top |
|
 |
vorapranav Junior Member


Joined: Dec 17, 2003 Posts: 5
|
Posted: Wed Dec 17, 2003 2:20 pm Post subject: |
|
Hi,
I think ur confused a bit with a word mail server.
First confirm that, u want to make a mail server or provide an interface for a mail server. Because, as u specified java mail api, then, this api can only interact with existing SMTP server and provide u to send/receive mails from the server.
Secondly, in sending mail, u need hostname (ip address) and domain name like (hotmail.com/yahoo.com).
Third, if u want to send mail to internet, then, ur SMTP server should have live ip address which is registered with a particular domain like pranav.com. And, in that domain, I can create user account like help. So, that account's email address will be help @ pranav.com
Hope this will clarify your queries...
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|