ValidateEmailAddress_v2
The ValidateEmailAddress_v2 service determines whether an email address is valid. It can
fix common typos to return a valid email address. It also identifies problematic email
addresses, including email addresses that:
- Belong to a spamtrap or honeypot
- Contain a disposable or invalid domain
- Contain derogatory words
- Has an email server that is configured to accept all emails at its domain.
It can also identify whether it can find the additional information associated with it, which includes list of all known social profiles of the contact or a list of interests that have been attributed to the contact, along with the level of interest.
Resource URL
https://OnDemandServer/soap/ValidateEmailAddress_v2
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_v2">
<soapenv:Header/>
<soapenv:Body>
<val:ValidateEmailAddress_v2Request>
<val:options>
<val:NameSocialCheck>Y</val:NameSocialCheck>
</val:options>
<val:Input>
<val:Input>
<val:EmailAddress>support@precisely.co</val:EmailAddress>
</val:Input>
</val:Input>
</val:ValidateEmailAddress_v2Request>
</soapenv:Body>
</soapenv:Envelope>
This would be the response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns3:ValidateEmailAddress_v2Response xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/ValidateEmailAddress_v2">
<ns3:Output>
<ns3:Output>
<ns3:EmailAddress.Input>support@precisely.co</ns3:EmailAddress.Input>
<ns3:Status/>
<ns3:Status.Code/>
<ns3:Status.Description/>
<ns3:EmailAddress>support@precisely.com</ns3:EmailAddress>
<ns3:Deliverable>Y</ns3:Deliverable>
<ns3:Risky>N</ns3:Risky>
<ns3:CatchAll>N</ns3:CatchAll>
<ns3:NameFound>N</ns3:NameFound>
<ns3:SocialInfoFound>N</ns3:SocialInfoFound>
<ns3:SyntaxValid>Y</ns3:SyntaxValid>
<ns3:Safe>Y</ns3:Safe>
<ns3:EmailCleansed>Y</ns3:EmailCleansed>
<ns3:ResultCode>VALID_CONFIRMED</ns3:ResultCode>
<ns3:user_fields/>
</ns3:Output>
</ns3:Output>
</ns3:ValidateEmailAddress_v2Response>
</soap:Body>
</soap:Envelope>