This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javamail with apache james  RSS feed

 
shashi kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I just started learning how to use javamail with apache james. I have gone through this url
http://www.ibm.com/developerworks/java/library/j-james1.html

But when I try to run sample class Iam getting this error.

SENDING message from red@localhost to blue@localhost

javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for blue@localhost

pls help if anyone knows solution.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!