EmailAddress

Email Address: class

Constructors

this
this(string email)
Undocumented in source.

Members

Properties

get
string get [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
get
string get [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

id
UUID id;
Undocumented in source.

Examples

auto address = new EmailAddress("test1@email.com");
assert(is(typeof(address) == EmailAddress));
assert(is(typeof(address.id) == UUID));
assert(is(typeof(address.emailHandle) == string));
assert(is(typeof(address.emailDomain) == string));
assert(is(typeof(address.emailAddress) == string));
assert(address.id == sha1UUID(address.emailHandle, sha1UUID(address.emailDomain)));
assert(address.emailHandle == "test1");
assert(address.emailDomain == "email.com");
assert(address.emailAddress == "test1@email.com");

Meta