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!

Sending email from apache James

843830Jan 29 2004 — edited Nov 9 2006
Hi i am trying to test the apache james mail server, i can receive email to mail boxes, but when i trying to send a email, i got this message from the mailet log files in %James%\apps\james\logs\:

30/01/04 03:41:32 INFO James.Mailet: RemoteDelivery: Attempting delivery of Mail1075433971390-0-to-msn.com to host msn.com to addresses [myemail@msn.com]
30/01/04 03:41:53 INFO James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1075433971390-0-to-msn.com: javax.mail.MessagingException: Could not connect to SMTP host: msn.com, port: 25
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:899)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:158)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:305)
at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:758)
at java.lang.Thread.run(Thread.java:534)

30/01/04 03:41:53 INFO James.Mailet: RemoteDelivery: Storing message Mail1075433971390-0-to-msn.com into outgoing after 0 retries

I dont very understand this, does this mean James needs to be specified with a SMTP server address in order to send messages?

Please help, i have no where else to look for anwsers..

Thanks!!!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2006
Added on Jan 29 2004
11 comments
5,744 views