4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: http://michael.orlitzky.com/code/email-validator.xhtml
9 license-file: doc/LICENSE
12 doc/man1/email-validator.1
14 Perform basic syntax and deliverability checks on email addresses.
16 Validate an email address using three techniques:
18 * Ensuring that the length of local and domain parts is within the
21 * A syntax check using a regular expression, or the full RFC 5322
22 grammar (see the @--rfc5322@ option).
24 * Confirmation of the existence of an @MX@ record for the domain part of
25 the address. This is not required; in fact many domains accept mail
26 via an @A@ record for e.g. example.com which is used in lieu of an @MX@
27 record. This behavior can be controlled via the @--accept-a@ flag.
29 These checks are performed in parallel using the number of available
30 threads. To increase the number of threads, you can pass the
31 appropriate flag to the GHC runtime.
33 This will set the number of threads to 25:
36 $ email-validator +RTS -N25 < addresses.csv
41 The @input@ (via stdin) should be a list of email addresses,
42 one per line. Empty lines will be ignored.
46 Valid email addresses will be written to stdout, one per line.
49 executable email-validator
78 -Wno-all-missed-specialisations
87 type: exitcode-stdio-1.0
88 hs-source-dirs: src test
106 -- It's not entirely clear to me why I have to reproduce all of this.
109 -Wno-implicit-prelude
112 -Wno-all-missed-specialisations
121 type: exitcode-stdio-1.0
126 -- Additional test dependencies.
129 -- It's not entirely clear to me why I have to reproduce all of this.
133 -fwarn-missing-signatures
134 -fwarn-name-shadowing
138 -fwarn-incomplete-record-updates
139 -fwarn-monomorphism-restriction
140 -fwarn-unused-do-bind
149 source-repository head
151 location: http://gitweb.michael.orlitzky.com/email-validator.git