wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes James server issue... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "James server issue..." Watch "James server issue..." New topic
Author

James server issue...

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi, I have a problem using James.
I register user 'jaros' and I send to him email . However, in the folder inboxes/jaros, If I sent text message, this file is created "4D61696C313233373939303037383930362D31.Repository.FileObjectStore"
If I try to send an attachment, the file which is received is "4D61696C313233373939303037383930362D31.Repository.FileStreamStore", which contanis, along headers information content like

So, what should I do, or what I didn't do, to obtain a messages, where from I can read mail, and get an attachment?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You still have to use e-mail client software to look at those e-mail messages.
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
can you suggest me some?
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
wait, you think that, messages should be redirected into folder of email client (like Eudora), and than to open an email? But where to store messages, in that case?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41582
    
  54
No, you need to create an account in your email client that retrieves its mail from the "jaros" account of the James server.


Ping & DNS - my free Android networking tools app
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi. I cannot set email client, probably because I'm testing some application on my home pc (I have no domain to provide for pop3/smtp). I can perform sending mails between registered users : user A can sent message to user B, and vice verse, but only in domain of my localhost (I mean I cannot in my Outlook type for pop3 server : 'pop3.localhost'. Enabling mail software to receive and send message require registered domain also, and considering that I using home pc, I do not have any. Can I override this disability so I can test application, or I must be connected on some domain (let says of my company) in order to perform such a testing?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41582
    
  54
You don't need a domain to test a local email server. Just use 127.0.0.1 as the server.
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
yes, you were right! Tell me one thing about James: Am I right, that, when application goes to production, instead of localhost I should specify the right domain of application, what it is register under? So instead - localhost, I should provide instead of
something like , where each registered user will have an account - someName@bluebeaches.com?
I wouldn't ask so much about James, but it's documentation isn't much extensive.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41582
    
  54
Yes, but you will have to add MX records for "bluebeaches.com" to the DNS system which point at the IP address of the James server.
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Ok. I gonna explore James gradually, and googling for a while. Thanks Ulf, and rest of people on JavaRanch...
 
Don't get me started about those stupid light bulbs.
 
subject: James server issue...