File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes problem with sending mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "problem with sending mail " Watch "problem with sending mail " New topic
Author

problem with sending mail

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: 61103
    
  66

Moved to the Other Java APIs forum where the JavaMail savvy hang out.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with sending mail