If I'm right, regular expressions are used to validate the format of the addresses. For example, the email id is
a.b@c.com. While entering the id in CC field, it is entered as
ab@c.com and
z.y@c.com(which is a valid one) in the TO field. Now, when i hit send, mail should be sent to
z.y@c.com which is a valid id and exception should be thrown for
ab@c.com. But, what i get is only the exception for the invalid id and not the mail for the valid id.
Hope I'm clear of the problem i'm facing...