ValidateEmailAddress
The ValidateEmailAddress service takes an email address and determines if it is valid. It can
fix common typos to return a valid email address. It also identifies problematic email
addresses, including email addresses that:
- Are fictitious email addresses like bgates@microsoft.com
- Are on the DMA "Do Not Email" list
- Belong to a spamtrap or honeypot
- Belong to a frequent spam complainer
- Contain a disposable domain
- Are associated with a domain that has restrictions on commercial email per the FCC
- Contain derogatory words
Resource URL
JSON endpoint:
https://OnDemandServer/rest/ValidateEmailAddress/results.json
XML endpoint:
https://OnDemandServer/rest/ValidateEmailAddress/results.xml
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
The following example requests a JSON response:
https://spectrum.precisely.com/rest/ValidateEmailAddress/results.json?Data.emailAddress=support@precisely.com
The JSON returned by this request would be:
{"Output": [{
"emailAddress": "support@precisely.com",
"COMMENT": "role account",
"COMMENT_CODE": "XR",
"EMAIL": "support@precisely.com",
"ERROR": "",
"ERROR_RESPONSE": "The email address you entered cannot be registered",
"FINDING": "W",
"SUGG_COMMENT": "",
"SUGG_EMAIL": "",
"user_fields": []
}]}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/ValidateEmailAddress/results.xml?Data.emailAddress=support@precisely.com
The XML returned by this request would be:
<xml.ValidateEmailAddressResponse xmlns="http://www.pb.com/spectrum/services/ValidateEmailAddress">
<Output>
<ValidateEmailAddress_output>
<emailAddress>support@precisely.com</emailAddress>
<COMMENT>role account</COMMENT>
<COMMENT_CODE>XR</COMMENT_CODE>
<EMAIL>support@precisely.com</EMAIL>
<ERROR/>
<ERROR_RESPONSE>The email address you entered cannot be registered</ERROR_RESPONSE>
<FINDING>W</FINDING>
<SUGG_COMMENT/>
<SUGG_EMAIL/>
<user_fields/>
</ValidateEmailAddress_output>
</Output>
</xml.ValidateEmailAddressResponse>