This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes problems with sending emails Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "problems with sending emails " Watch "problems with sending emails " New topic
Author

problems with sending emails

krishnan rajah
Greenhorn

Joined: Oct 06, 2004
Posts: 3
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

Joined: Jan 10, 2002
Posts: 56191
    
  13

krishnan , please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic in the Other Java APIs forum where the post you made to the JSP forum has been moved.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: problems with sending emails
 
Similar Threads
Java Mail Using Lotus Notes Componets
JAVA MAIL
problem with sending mail
problem with sending mail
550 Invalid recipient Problem whilst I am sending Email using SMTP