i'm using java mail to send emails. If i give 2 email addresses for to addresses, if one is invalid the exception is thrown and email is not sent to valid to address also.but i want email to b sent to b sent to valid address how to do that.
posted 11 years ago
I think probably you need to handle this in the catch block. And, from the catch block you need to validate the valid EMail Address and then calling your send method to send the mail.