javaMail版本1.4 如果通过javaMail向内部的exchange邮箱发邮件是能发出去的.

但是如果向163,QQ等邮箱发邮件的话会报以下错误 

javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at com.smartdot.mau.mail.MailSend.sendHtmlMail(MailSend.java:308)
at com.smartdot.mau.thread.SendMailThread.run(SendMailThread.java:34)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 6 more
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at com.smartdot.mau.mail.MailSend.sendHtmlMail(MailSend.java:308)
at com.smartdot.mau.thread.SendMailThread.run(SendMailThread.java:34)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 6 more

哪位大神知道原因啊,求解?????

这个上面说配置错了,
https://confluence.atlassian.com/display/JIRAKB/550+5.7.1+Unable+to+Relay+Mail+From+Exchange+Server
但是客户服务器在foxmail上或者网页上都能给其他邮箱发送邮件的。。