Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Email Validation Services/API's

(0) ShareShare
ReportReport
Posted on by 49

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...

  • cloflyMao Profile Picture
    cloflyMao 25,202 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans