aspose file tools*
The moose likes General Computing and the fly likes configuring smtp server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "configuring smtp server" Watch "configuring smtp server" New topic
Author

configuring smtp server

Adewale Adebusoye
Ranch Hand

Joined: Sep 28, 2005
Posts: 118
Hello:

ive finished writing an email client, and i used a free email service online. the problem is that i can only use my program to access my own account. So ive got the following questions:

1. is it possible to create accounts for other users in an email client (Sorry if it sounds like a stupid question), and if so how?

2. Also, id like to know if its possible to set up a machine in my organisation as an smtp or mail server, so i deploy my application in that context.

Thanks a lot


"Human beings can alter their lives by altering their state of mind" William James
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42927
    
  68
#1) Every email client I'm familiar with lets you create amultiple accounts. The specifics depend on which client you're using, but look for "Accounts" in the options. But what good do other peoples account on your client? Everybody will be able to see everybody elses email.

#2) There are a number of free email servers available, if your server doesn't have one installed already. If you want to stay in the Java space, then there's Jakarta James. But didn't you say you wrote an email client? I must be missing something.

I'll move this to the General Computing forum; please find the thread there and continue the discussion.
Adewale Adebusoye
Ranch Hand

Joined: Sep 28, 2005
Posts: 118
Yes i wrote this web application that uses the javamail api. The application was supposed to handle inter-departmental memo transfers in my organisation.
I used a free server called 1net.gr, but i could only access my own account.
I was wondering whether it was possible to incorporate the "creating accounts" functionality into my web application just like in outlook express, so that multiple users of my application can create accounts with my application.
Is there a method or class somewhere in the javamail api that does this?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42927
    
  68
Creating accounts is a server-side function; JavaMail has no provisions for doing that. Once you have decided which server to use, check the API it offers.
Adewale Adebusoye
Ranch Hand

Joined: Sep 28, 2005
Posts: 118
okay i seem to understand.
Please could you recommend any good server with that functionality? and that its also easy to install?
Because i remember trying to use sendmail, and i couldnt find any setup file or anything.
Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42927
    
  68
Every email server handles user accounts, but Sendmail in particular is only for sending mail (i.e., it implements SMTP, but not POP or IMAP). If you're on Windows, have a look at Imail or Exchange; I'm not sure what the popular servers are on Unix. If you want a Java solution, check out Apache James.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: configuring smtp server