I have some code that sends emails using javax.mail.Transport class.
The code calls the send method, but if there is any invalid address the message won’t be send.
Is there any way to send the message to valid addresses and ignore invalid ones?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This could be solved easily by putting a property in the properties like this
This will tell java to send mail even if there are not valid reciepients