Use of Intranet email, log information display two servers have interaction, but send thrown when javax.mail. Mail. MessagingException: 501 5.1.7 Invalid address
Confirm receipt address no problem.
Before network access, the way is another exception.
Later applied for network access, the user name password is wrong, throw the authentication failed.
The two problems have been solved now. First ruled out two reasons for this.
Also tested for internal mail account to send, also sell javax.mail. Mail. MessagingException: 501 5.1.7 Invalid address
Between two internal account directly send mail, also can be sent.
CodePudding user response:
I'm sorry because working reason can not be labeled as the source codeCodePudding user response:
501 5.1.7 this address can ping the server, or the server port 25 have blockedCodePudding user response: