Subject: | Doesn't accept Email::Address object |
There doesn't appear to be any way to adjust the definition of a valid
email address. Using Email::Valid without allowing for that module's
configuration adjustments (fqdn, local_rules, etc) is far too rigid.
For example, email addresses without fully qualified domain names (e.g.
username@localhost or simply username) are considered invalid.
The docs say that an object of type Email::Address can be used. This
does not appear to be true. It looks like only plaintext or
Mail::Builder::Address object can be used. I was going to try to find a
way to use the Email::Address object (in conjunction with Email::Valid
configuration options) but Mail::Builder didn't accept this type of
object.
Is there a way to use Mail::Builder and have some control over what is
deemed a valid email address?