File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
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
»
Other JSE/JEE APIs
Author
mail not sent on other addresses other than exchange server
Anil Prasad
Greenhorn
Joined: Feb 22, 2006
Posts: 14
posted
Feb 20, 2007 00:48:00
0
Hi All,
I want send mail through my exchange server.Problem is that whenever I give mail address other than my exchange server.My code generates exception
[2007-02-20 12:17:12.843 IST] (error) The mail has not been sent due to: (
javax.mail.SendFailedException
: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException
: 550 5.7.1 Unable to relay for
anil.kr.prasad@gmail.com
, )
Can any body help me out.Thanks in advance.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
Feb 20, 2007 00:53:00
0
Most email servers are configured to only send emails for accounts hosted on that server. It's a spam protection measure.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://aspose.com/file-tools
subject: mail not sent on other addresses other than exchange server
Similar Threads
Javamail - Invalid Address Problem
SMTP Error please make me understand
Java Mail problem
urggently Java Mail Help
Send Mail using Servlet with following error encountered..pls help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter