K
Kez
I am getting the following exception in my code:
javax.mail.SendFailedException: 5.5.2 No valid recipients
at gnu.mail.providers.smtp.SMTPTransport.sendMessage(Unknown
Source)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)
I have 3 servers set up using this code, and only one of them gets this
error, so I expect it is a configuration issue.
I have checked the recipient is valid.
Any ideas what may be causing this?
Would this occur if the mail server was configured not to accept emails
being sent through it, or if the email server couldn't be contacted? I
would expect a different error in both of these cases.
Kerrin
javax.mail.SendFailedException: 5.5.2 No valid recipients
at gnu.mail.providers.smtp.SMTPTransport.sendMessage(Unknown
Source)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)
I have 3 servers set up using this code, and only one of them gets this
error, so I expect it is a configuration issue.
I have checked the recipient is valid.
Any ideas what may be causing this?
Would this occur if the mail server was configured not to accept emails
being sent through it, or if the email server couldn't be contacted? I
would expect a different error in both of these cases.
Kerrin