JavaMail : Transport.sendMessage() do not send mail to valid addresses
Posted on 2001-09-11
JavaMail 1.2 Question
Transport.sendMessage(message, Addresses) should send the email messages to all the valid messages given in the array. On the other hand if Transport.send(message) is used then the message is sent only if all the email addresses are valid. Even if one email id is non valid the message is not delivered to the valid email ids. This is the case for send() method. However if sendMessage is used then, according to the documentation it should send the messages to the all valid email ids. But this is not happening for me. sendMessage and send methods are behaving the same way for me, that is, no mail is sent if single email id is invalid in the email ids given. However if all the email ids are OK then there is no problem. How to solve the sendMessage problem. Thanks!