The OpenD Programming Language

std.net.isemail

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

Members

Aliases

CheckDns
alias CheckDns = Flag!"checkDns"

Flag for indicating if the isEmail function should perform a DNS check or not.

Enums

EmailStatusCode
enum EmailStatusCode

An email status code, indicating if an email address is valid or not. If it is invalid it also indicates why.

Functions

isEmail
EmailStatus isEmail(const(Char)[] email, CheckDns checkDNS, EmailStatusCode errorLevel)

Check that an email address conforms to RFCs 5321, 5322 and others.

statusCodeDescription
string statusCodeDescription(EmailStatusCode statusCode)

Structs

EmailStatus
struct EmailStatus

Represents the status of an email address

Meta

Authors

Dominic Sayers <dominic@sayers.cc>, Jacob Carlborg

Version

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

License

Boost Software License 1.0 Dominic Sayers graciously granted permission to use the Boost license via email on Feb 22, 2011.