web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Email Validation Services/API's

(0) ShareShare
ReportReport
Posted on by 51

Does anyone have any experience with an email validation service that they would like to share and any integration experiences through an API to Dynamics Marketing? We're trying to reduce our Hard Bounces and would like to run our Contact email addresses against a service to validate them on a regular basis. Appreciate any help...

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at
    RE: Email Validation Services/API's

    Hi Scott,

    In Dynamics Marketing, there is an API: msdyncrm_EmailValidate to validate a marketing email record.

    Request

    POST [Organization URI]/api/data/v9.0/msdyncrm_EmailValidate
    OData-MaxVersion: 4.0
    OData-Version: 4.0
    Accept: application/json
    Content-Type: application/json; charset=utf-8
    
    {
        'FieldValueContentLanguage': 1033,
        'FieldValueContentType': 0,
        'FieldValueEmailBody': '',
        'FieldValueEmailTextPart': 'Hello friend',
        'FieldValueFromEmail': 'admin@clofly.com',
        'FieldValueFromName': 'MOD Administrator',
        'FieldValueMarketingEmailId': '{8A68C12E-B027-EB11-A813-000D3AA080EC}', // Marketing Email GUID
        'FieldValueMessageDesignation': 0,
        'FieldValueName': '11-16-01', // Marketing Email name
        'FieldValueReplyToEmail': 'clofly@outlook.com',
        'FieldValueStatusCode': 192350001,
        'FieldValueSubject': '$100 FOR 10 DAYS', // Marketing Email subject
        'FieldValueTestConfiguration': '{"tests":[]}',
        'FieldValueTo': '{{ contact.emailaddress1 }}'
    }

    Response

    (It is based on the sample data in Request.)

    {
        @odata.context: "[Organization URI]/api/data/v9.0/$metadata#Microsoft.Dynamics.CRM.msdyncrm_EmailValidateResponse",
        "ValidationResult": {"PartValidationResults":[{"PartName":"Html","Messages":[{"Level":1,"MessageCode":"MetaReferrerNeverMissing","ParameterizedMessageCode":null,"Parameters":[]}],"Context":null},{"PartName":"Html","Messages":[{"Level":2,"MessageCode":"MissingSubscriptionCenterLinkInHtml","ParameterizedMessageCode":null,"Parameters":[]}],"Context":null},{"PartName":"Text","Messages":[{"Level":2,"MessageCode":"MissingSubscriptionCenterLinkInText","ParameterizedMessageCode":null,"Parameters":[]}],"Context":null},{"PartName":"Html","Messages":[{"Level":2,"MessageCode":"MissingLegalPhysicalAddressInHtml","ParameterizedMessageCode":null,"Parameters":[]}],"Context":null},{"PartName":"Text","Messages":[{"Level":2,"MessageCode":"MissingLegalPhysicalAddressInText","ParameterizedMessageCode":null,"Parameters":[]}],"Context":null}],"Result":"Error"}
    }

    Formatting the ValidationResult of response:

    {
      "PartValidationResults": [
        {
          "PartName": "Html",
          "Messages": [
            {
              "Level": 1,
              "MessageCode": "MetaReferrerNeverMissing",
              "ParameterizedMessageCode": null,
              "Parameters": []
            }
          ],
          "Context": null
        },
        {
          "PartName": "Html",
          "Messages": [
            {
              "Level": 2,
              "MessageCode": "MissingSubscriptionCenterLinkInHtml",
              "ParameterizedMessageCode": null,
              "Parameters": []
            }
          ],
          "Context": null
        },
        {
          "PartName": "Text",
          "Messages": [
            {
              "Level": 2,
              "MessageCode": "MissingSubscriptionCenterLinkInText",
              "ParameterizedMessageCode": null,
              "Parameters": []
            }
          ],
          "Context": null
        },
        {
          "PartName": "Html",
          "Messages": [
            {
              "Level": 2,
              "MessageCode": "MissingLegalPhysicalAddressInHtml",
              "ParameterizedMessageCode": null,
              "Parameters": []
            }
          ],
          "Context": null
        },
        {
          "PartName": "Text",
          "Messages": [
            {
              "Level": 2,
              "MessageCode": "MissingLegalPhysicalAddressInText",
              "ParameterizedMessageCode": null,
              "Parameters": []
            }
          ],
          "Context": null
        }
      ],
      "Result": "Error"
    }

    However, the API is not officially supported, please use it on your own risk.

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 120

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 120 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans