Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Problem 554: Relay access denied ?

843834Nov 18 2008 — edited Mar 28 2009
Hello freaks!

I've been using the JavaMail API to send emails for a long time, through a WebForm...
But now, when I try to send emails to receivers that aren't users of our domain (@hotmail, for example), I'm getting this message:
javax.mail.SendFailedException: Sending failed;
nested exception is: javax.mail.SendFailedException: Invalid Addresses;
nested exception is: javax.mail.SendFailedException: 554: Relay access denied
I heard about "some configuration problem" with the mail server, but the strangest thing, it's that if try to send this email in a Outlook client (for example) the problem doesn't happen and the email is sent successfully...

What should I do solve this problem?
If it's some configuration problem (that must be...), what could I do to test?
Could you help me?

Thanks.

Edited by: PBNETO on Nov 18, 2008 8:28 AM

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 25 2009
Added on Nov 18 2008
5 comments
1,516 views