关于java发送邮件的问题
请问大家下。
我在网上弄了段发邮件的代码,在本地发是可以,但是代码传到虚拟主机上就出现如下错误:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class javax.mail.SendFailedException: 551 User not local; please try <forward-path>
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
请问下这个是什么意思呢。