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
https://OnDemandServer/soap/ValidateEmailAddress
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example
The following shows a SOAP request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:val="http://www.pb.com/spectrum/services/ValidateEmailAddress">
<soapenv:Header/>
<soapenv:Body>
<val:ValidateEmailAddressRequest>
<val:options/>
<val:Input>
<val:ValidateEmailAddress_input>
<val:emailAddress>support@precisely.com</val:emailAddress>
</val:ValidateEmailAddress_input>
</val:Input>
</val:ValidateEmailAddressRequest>
</soapenv:Body>
</soapenv:Envelope>
This would be the response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns3:ValidateEmailAddressResponse xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/ValidateEmailAddress">
<ns3:Output>
<ns3:ValidateEmailAddress_output>
<ns3:emailAddress>support@precisely.com</ns3:emailAddress>
<ns3:COMMENT>role account</ns3:COMMENT>
<ns3:COMMENT_CODE>XR</ns3:COMMENT_CODE>
<ns3:EMAIL>support@precisely.com</ns3:EMAIL>
<ns3:ERROR/>
<ns3:ERROR_RESPONSE>The email address you entered cannot be registered</ns3:ERROR_RESPONSE>
<ns3:FINDING>W</ns3:FINDING>
<ns3:SUGG_COMMENT/>
<ns3:SUGG_EMAIL/>
<ns3:user_fields/>
</ns3:ValidateEmailAddress_output>
</ns3:Output>
</ns3:ValidateEmailAddressResponse>
</soap:Body>
</soap:Envelope>