View source code Display the source code in std/net/isemail.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Module std.net.isemail

Validates an email address according to RFCs 5321, 5322 and others.

Version

3.0.13 - Version 3.0 of the original PHP implementation: http://www.dominicsayers.com/isemail

Standards

  • RFC 5321
  • RFC 5322

References

Functions

Name Description
isEmail Check that an email address conforms to RFCs 5321, 5322 and others.
statusCodeDescription Returns a describing string of the given status code

Structs

Name Description
EmailStatus This struct represents the status of an email address

Enums

Name Description
CheckDns Enum for indicating if the isEmail function should perform a DNS check or not.
EmailStatusCode An email status code, indicating if an email address is valid or not. If it is invalid it also indicates why.

Authors

Dominic Sayers , Jacob Carlborg

License

Boost Software License 1.0

Comments