Loading
Secure Your Salesforce Org
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Identify Your Email-Sending Domains

          Identify Your Email-Sending Domains

          Use email logs to see which domains your org has sent email from in the last 7 days. Then, to make sure that every sending domain is verified, cross-check the list against your DKIM keys and authorized email domains.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience
          Available in: all editions except Database.com
          User Permissions Needed
          To access email logs: Modify All Data

          To send email from a domain, Salesforce requires verification via a DKIM key or a verified entry on the Authorized Email Domain list in Setup.

          1. Request an email log for the last 7 days of outbound email. Then download the CSV file.
            To get a list of email-sending domains beyond the last 7 days, run multiple email log reports and combine the results.
            Note
            Note The download can take a few minutes.
          2. Open the CSV file in a spreadsheet editor, such as Google Sheets or Microsoft Excel.
          3. In an empty column to the right of the data, add a formula to generate a list of unique email-sending domains.

            Construct the formula to get the string after the at symbol (@) from the “Header From” value and then remove duplicate values.

            Here are two example formulas when the “Header From” value is in column Y and the data starts in row 2.

            • For Google Sheets:
              =UNIQUE(ARRAYFORMULA(IF(ISBLANK(Y2:Y), "", TRIM(SUBSTITUTE(REGEXEXTRACT(Y2:Y, "[^@]+$"), ">", "")))))
            • For Microsoft Excel:
              =UNIQUE(FILTER(TRIM(SUBSTITUTE(TEXTAFTER(Y2:Y100000,"@",-1),">","")),Y2:Y100000<>""))
            The column shows a list of unique email-sending domains in the report data.

          Cross-check the list of email-sending domains against your DKIM keys and authorized email domains. See Get a List of Your Verified Email-Sending Domains.

           
          Loading
          Salesforce Help | Article