JavaMail SMTP 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
I've developed a JavaMail form processor for a project of mine, however I am hung up on one problem.
I am using Tomcat and I run it on my local machine to test sending an email.
I use authentication and specifically enter the username and password for the server. It works with no problem
When I use the same program on the public WebServer I get the 553 error when I try to send to an email adddress outside the domain.
javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
The Webserver still uses the same authentication. Even stranger is when I Install Outlook and send email from that same address there is no problem
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.