Class: IsEmail::Diagnosis::RFC5322 Private
- Defined in:
- lib/is_email/diagnosis/rfc5322.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Indicates an address is only loosely valid by RFC5322
Constant Summary collapse
- DESCRIPTION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"Address is only valid according to the broad definition of RFC5322. It is otherwise invalid."- ERROR_CODES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{ "DOMAIN" => 65, "TOOLONG" => 66, "LOCAL_TOOLONG" => 67, "DOMAIN_TOOLONG" => 68, "LABEL_TOOLONG" => 69, "DOMAINLITERAL" => 70, "DOMLIT_OBSDTEXT" => 71, "IPV6_GRPCOUNT" => 72, "IPV6_2X2XCOLON" => 73, "IPV6_BADCHAR" => 74, "IPV6_MAXGRPS" => 75, "IPV6_COLONSTRT" => 76, "IPV6_COLONEND" => 77 }
- MESSAGES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{ "DOMAIN" => "Address is RFC5322 compliant but contains domain characters that are not allowed by DNS.", "TOOLONG" => "Address is too long.", "LOCAL_TOOLONG" => "Address contains a local part that is too long.", "DOMAIN_TOOLONG" => "Address contains a domain that is too long.", "LABEL_TOOLONG" => "Address contains a domain part with an element that is too long.", "DOMAINLITERAL" => "Address contains a domain literal that is not a valid RFC5321 address literal.", "DOMLIT_OBSDTEXT" => "Address contains a domain literal that is not a valid RFC5321 address literal and contains obsolete characters.", "IPV6_GRPCOUNT" => "Address contains an IPv6 literal address with the wrong number of groups.", "IPV6_2X2XCOLON" => "Address contains an IPv6 literal address with too many :: sequences.", "IPV6_BADCHAR" => "Address contains an IPv6 literal address with an illegal group of characters.", "IPV6_MAXGRPS" => "Address contains an IPv6 literal address with too many groups.", "IPV6_COLONSTRT" => "Address contains an IPv6 literal address that starts with a single colon.", "IPV6_COLONEND" => "Address contains an IPv6 literal address that ends with a single colon." }
- REFERENCES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{ "DOMAIN" => ["domain-RFC5322"], "TOOLONG" => ["mailbox-maximum"], "LOCAL_TOOLONG" => ["local-part-maximum"], "DOMAIN_TOOLONG" => ["domain-maximum"], "LABEL_TOOLONG" => ["label"], "DOMAINLITERAL" => ["domain-literal"], "DOMLIT_OBSDTEXT" => ["obs-dtext"], "IPV6_GRPCOUNT" => ["address-literal-IPv6"], "IPV6_2X2XCOLON" => ["address-literal-IPv6"], "IPV6_BADCHAR" => ["address-literal-IPv6"], "IPV6_MAXGRPS" => ["address-literal-IPv6"], "IPV6_COLONSTRT" => ["address-literal-IPv6"], "IPV6_COLONEND" => ["address-literal-IPv6"] }
Instance Attribute Summary
Attributes inherited from Base
#code, #message, #references, #type
Method Summary
Methods inherited from Base
#<=>, #==, #hash, #initialize, #inspect
Constructor Details
This class inherits a constructor from IsEmail::Diagnosis::Base