Open enricobenedos opened 3 years ago
mailer
should definitely provide a possibility for address-validation.
Earlier versions had a validator which was RFC conform: https://github.com/kaisellgren/mailer/blob/cb1a63610057cdd8d04950af7e0ccb004c635aa7/lib/src/address.dart
I think that we must allow different validators. A lot of (RFC) valid addresses shouldn't be allowed.
Good morning,
I spent some time to understand why some users was experiencing some problems with my app when sending mails. This was the error:
After some research I found it was simply caused by a tab in the
Address()
name parameter.Can it be an idea to create a validator that does not permit to introduce wrong space in the name string?
Thanks