Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IMAP Server in Apache James

843830Sep 5 2001 — edited Aug 24 2003
Hello,

can any one tell me is Apache James 1.2.1 support the IMAP Server. I can send mail to the Apache James mail server. That's mean my smtp is work properly.

When i trying to view the mails by typing the command :-
java msgshow -T imap -H 127.0.0.1 -U ryan -P passwd -f INBOX 1

Note: mshshow.java is a demo program from javaMail1.2
-T is the protocol
-H is the mail server
-U is the user name
-P is the password
-f is the inbox number

This is the error message : -

Oops, got exception! Connection refused: connect;
nested exception is:
java.net.ConnectException: Connection refused: connect
javax.mail.MessagingException: Connection refused: connect;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:298)
at javax.mail.Service.connect(Service.java:234)
at msgshow.main(msgshow.java:133)


Regards,
Choong Teck
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2003
Added on Sep 5 2001
1 comment
683 views