---
name: "HTML::FormFu::Constraint::Email"
section: "3pm"
platform: "linux"
package: "libhtml-formfu-perl"
version: "2.07000-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTML::FormFu::Constraint::Email"
---

# HTML::FormFu::Constraint::Email(3pm)

Email Address Constraint

## NAME

HTML::FormFu::Constraint::Email - Email Address Constraint

## VERSION

version 2.07

## DESCRIPTION

Checks the input value is an email address according to the `"address"` method of Email::Valid.

## METHODS

### options

Arguments: `$string`

Arguments: \\@strings

Arguments: \\%keypairs

Options are passed to Email::Valid. An array or single option is passd through with each option as 'true'. Using a hash instead, you can pass through more specific key pair options. Remember in both cases to omitted the leading dash that you would otherwise need if using Email::Valid directly.

```
  type: Email
  options:
    - macheck
    - tldcheck
    - fudge
    - fqdn
    - allow_ip
    - local_rules
```

### SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Constraint

The available options are as per Email::Valid but without the '-'

## AUTHOR

Carl Franks `"cfranks@cpan.org"`, Dean Hamstead `"dean@bytefoundry.com.au"`

## LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

## AUTHOR

Carl Franks \<cpan@fireartist.com\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Carl Franks.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
