Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
EmailDomainKey
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Special Access Rules
As of Summer ’20 and later, only authenticated internal and external users can access this object.
We’ve upgraded and replaced the original DKIM (DomainKeys Identified Mail) key feature, so that you can create a DKIM key with increased email security. For more information, see Setting Up More Secure DKIM Keys.
Fields
Usage
Create DKIM Keys with Increased Security
- If your Salesforce org was created before Winter ’19, enable the Critical Update. From Setup, enter Critical Updates in the Quick Find box, and then select Critical Updates. For Enable Redesigned DomainKeys Identified Mail (DKIM) Key Feature with Increased Email Security, click Activate.
- Insert Domain, DomainMatch, Selector, and AlternateSelector. Salesforce publishes your TXT record to DNS.
- Retrieve the TxtRecordName and
AlternateTxtRecordName and use them to create and publish the CNAME
and Alternate CNAME record to your domain’s DNS.
- Create CNAME record using: <selector>._domainkey.<domain> IN CNAME txtRecordName.
- Create Alternate CNAME record using: <alternateSelector>._domainkey.<domain> IN CNAME alternateTxtRecordName.
- Set the IsActive field to true.
Create DKIM Keys (pre-Winter ‘19 Version)
When you create a DKIM key, Salesforce generates a public and private key pair. Publish the public key in the DNS.
- Insert the Domain, DomainMatch, and Selector.
- Update your domain’s DNS records.
- Locate the DNS record at selector._domainkey.domain. For example, mail._domainkey.mail.example.com.
- Add the PublicKey value, like this: V=DKIM1; p=public_key.
- In addition, you can optionally put the record in testing mode, which instructs recipients to not make decisions based on the email signature. Add parameter t=y to the DNS entry: V=DKIM1; t=y; p=public_key.
- Update the key via the API or UI to be active.