• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail problem

 
Daniel Andrei
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to send a mail with SMTP but i get an exception like this:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at Mail.postMail(Mail.java:82)
at Mail.main(Mail.java:91)
what should I do?
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to Other Java APIs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!