I am having a problem with SwiftMailer rejecting e-mails containing dots either in the beginning or ending of the address (similarly to multiple dots inside). I would like to make my app noticing about such issues.
What should be the regular expression to filter out wrong e-mail addresses? (by wrong I mean those which are not compiled with the whole standard)