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!

Relaying denied For Some Emails Through Java Mail

843834Oct 26 2009 — edited Oct 28 2009

Hi,

I am facing a strange problem. I have set up the Java Mail and when I try to send email emails fail for about *50%* of times with the following error Message:
RCPT TO:<_valid_emailID_mailto:valid_emailID@att.com>
550 5.7.1 ... Relaying denied
DEBUG SMTP: Invalid Addresses
DEBUG SMTP: [mailto:valid_emailID@att.com]
DEBUG SMTP: Sending failed because of invalid destination addresses
RSET
250 2.0.0 Reset state
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 ... Relaying denied 
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1130)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:525)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)
While with the same email ID, mailing server and configuration other emails are going through fine. Can any one please suggest?

Thanks,
Milo.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 25 2009
Added on Oct 26 2009
6 comments
3,435 views