You are here:
Email Log File Fields
Use the fields in an email log file to investigate email delivery status, errors, security, and authentication.
Required Editions
| Available in: Lightning Experience and Salesforce Classic |
| Available in: All Editions except Database.com |
| User Permissions Needed | |
|---|---|
| To access email logs: | Modify All Data |
Each row of the log file contains these fields.
| Field | Definition |
|---|---|
| Date/Time | The date and time that the Mail Event occurred, in UTC. Example: 3/06/2009 13:37 |
| Internal Message ID | The unique internal ID of the message Example:
|
| Mail Event | The latest email event in the mail server. Each Mail Event has one of these values.
Example: T |
| Recipient | The email address of the person to whom the email is sent. Example: admin@acme.com |
| Sender | The Envelope From address used in the email. The default value is the email address of the person who sent the email. If Email Security Compliance or Bounce Management is enabled, this address contains *.bnc.salesforce.com. Example: user@acme.com |
| Remote Host | The IP address of the application server that delivered the email to the email server Example: 10.0.0.1 |
| Bytes Transferred | The byte size of the email. Example: 11856 |
| User ID | The Salesforce ID of the user who sent the email. Example: |
| Message ID Header | The ID header at the beginning of every email. Example:
|
| Retry Count | The number of attempts made to deliver the email. Example: 11 |
| Seconds in Queue | The number of seconds the email message waited in the queue before delivery. Example: 300 |
| Delivery Stage | The delivery stage of the email. Here are the values of the stages in the order that they appear during the SMTP sequence.
These responses can appear at any point during the delivery sequence.
Example: |
| Relay Address | The hostname of the designated relay system. Example: relay.my.org |
| Relay Port | The port of the designated relay system Example: 587 |
| Delivery Status Notification | After every delivery stage, the mail server sends a three-digit response code. The first number indicates whether the command was successful or unsuccessful. The second digit indicates the type of error, and the third digit provides additional information to resolve the potential problem. Use the first digit to determine the state of the message.
Every email service provider implements the codes differently, so there’s no comprehensive list for what the second or third digits indicate. For more information on these codes, view the official SMTP documentation, section 4.2.1: http://www.ietf.org/rfc/rfc2821.txt?number=2821 Example:
|
| TLS_Cipher | For successfully delivered emails, the email’s encryption. This information is valid only when Mail Event is D.
Example: |
| TLS_Verified | If the email was encrypted and successfully sent, this value indicates whether the client verified the encryption certificate with the configured certificate authorities.
This information is valid only when Mail Event is D for delivery. Example: |
| Email Direction | The direction of the email.
Example: Outbound |
| Sent via TLS | Indicates whether the email was sent via TLS.
Example: |
| TLS Option | The TLS setting used for the email.
Example: 1 |
| SPF status | The Sender Policy Framework (SPF) authentication status of the email.
Example: Pass |
| Sender ID status | Sender ID authentication status of the email.
Example: Pass |
| Sender ID PRA status | The Sender ID PRA (Purported Responsible Address) authentication status of the email.
Example: Pass |
| DomainKeys status | DomainKeys status of the email.
Example: Pass |
| Header From | The From field in the email header. Example: My Email <my.email@example.com> |
| DKIM Selector | The DKIM selector of the email. A DKIM selector is a string used to locate the appropriate public key in the sender's DNS records. In this example DKIM signature, the DKIM selector is selector202307. Example: selector202307 |
| DKIM Domain | If a DomainKeys Identified Mail (DKIM) key signed the email message, the domain for the cryptographic keys used to sign the email message. In this example DKIM signature, the DKIM Domain is example.com.
Example: example.com |
| DKIM Success | Indicates whether the DKIM-Signature header was included in the email headers.
Example: |
