This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with sending mail

 
krishnan rajah
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have written an application using java mail api. When i try to send email i get SendFailedException Invalid Addresses; nested exception is: class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for a@a.com .

I understand that the server is not allowing relaying. I need to understand one thing. My system is in the same network as the smtp server.My administrator says that all messages from this address range is allowed to send mails.but i still get this problem. my application is running on tomcat5 web server and my company uses exchange server for providing smtp services. please give me solution.


thanks for your help

krishnan
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Other Java APIs forum where the JavaMail savvy hang out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic