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!

Sending failed due to invalid destination address - HELP

843830May 7 2002 — edited Jun 20 2002
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for shoi
abm@hotmail.com

at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at msg.main(msg.java:70)
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for shoi
abm@hotmail.com

at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:848)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:323)
at javax.mail.Transport.send0(Transport.java:163)
at javax.mail.Transport.send(Transport.java:80)
at msg.main(msg.java:70)

***** Though i have given the recipent address correct, still i am getting this invalid address and sending failed exception, i really dont understand what is happening, b'cause the program is perfectly allriight, the only problem i think what could be is, the mail server should be having the problem, i just want to know how to rectify it and what is the solution.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2002
Added on May 7 2002
6 comments
2,594 views