Cannot send email to Hotmail and YahooMail using JavaMail
The following exception come out when the recipient email is an "hotmail" or "yahoo" email account :-
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)
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:804)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
at com.util.EMailGenerator.send(EMailGenerator.java:58)
at EmailEngineTask.performTask(EmailEngine.java:145)
at EmailEngineTask.run(EmailEngine.java:64)
any idea about what is the problem. Thank you.
I am using JavaMail to send my email....please help.

