---
schema_version: "1"
id: 671dd079602012f4258988c80deac5481bf2c7a22a760d5f53d0e648ce7145d6
title: EmailAdministrationSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_emailadministrationsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_emailadministrationsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0bc9e0274b1fa1cb914dc959e9edf92220a4135393d73e4f41141bd514e9ac81
description: Represents an organization’s email administration settings, including email deliverability, security compliance, relay configurations, and system notifications. This type extends the Metadata metadata type and inherits its fullName field.
---
# EmailAdministrationSettings

Represents an organization’s email administration settings, including email deliverability, security compliance, relay configurations, and system notifications. This type extends the Metadata metadata type and inherits its fullName field.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for details.

## File Suffix and Directory Location

EmailAdministrationSettings values are stored in the EmailAdminstration.settings file in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

## Version

EmailAdministrationSettings is available in API version 47.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d406937e102">Field Name</th>

              <th class="featureTableHeader  " id="d406937e105">Field Type</th>

              <th class="featureTableHeader  " id="d406937e108">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableComplianceBcc</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether a copy of each outbound email message is sent
                to an email address you specify (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). This field has a default value of <samp class="codeph nolang">false</samp>. <div class="box message info">
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p> To use this feature,
                            you must specify an email address in <strong class="ph uicontrol">Compliance BCC
                              Email</strong> in Setup.
                          </p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableEmailConsentManagement</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether Enforce Email Privacy Settings is enabled
                <samp class="codeph nolang">(true)</samp> or not <samp class="codeph nolang">(false)</samp>. When enabled, Salesforce
                respects each recipient’s email privacy preferences. Default value
                is <samp class="codeph nolang">false</samp>.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableEmailSenderIdCompliance</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether outgoing emails comply with Sender ID email
                protocols (<samp class="codeph nolang">true</samp>) or not
                (<samp class="codeph nolang">false</samp>). This field has a
                default value of <samp class="codeph nolang">false</samp>. To
                enable this preference, enableEmailSpfCompliance<samp class="codeph nolang"> must be set to true</samp>.<div class="box message info">
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>Evaluate the multiple standard email
                            security protocols (SPF, DKIM, and DMARC) supported by
                            Salesforce before you enable this setting. </p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname" id="meta_enableEmailSpfCompliance"><a name="meta_enableEmailSpfCompliance"><!-- --></a>enableEmailSpfCompliance</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether outgoing emails comply with Sender Policy
                Framework (SPF) email authentication (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). This field has a default value of <samp class="codeph nolang">true</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableEmailToSalesforce</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether Email to Salesforce is enabled (<samp class="codeph nolang">true</samp>) or disabled (<samp class="codeph nolang">false</samp>). This field has a default
                value of <samp class="codeph nolang">false</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableEmailWorkflowApproval</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether users can respond to email approval requests
                directly from their email (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).
                This field has a default value of <samp class="codeph nolang">false</samp>. See <a class="xref" href="https://help.salesforce.com/articleView?id=approvals_email_limitations.htm&amp;language=en_US" target="_blank">Considerations for Email
                  Approval</a> before enabling this field.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableEnhancedEmailEnabled</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether Enhanced Email is enabled <samp class="codeph nolang">(true)</samp> or not <samp class="codeph nolang">(false)</samp>. Default value is <samp class="codeph nolang">true</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname" id="meta:enableHandleBouncedEmails"><a name="meta:enableHandleBouncedEmails"><!-- --></a>enableHandleBouncedEmails</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether emails sent from Salesforce to an invalid email
                address bounce back to Salesforce (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>) . This field has a default value of <samp class="codeph nolang">true</samp>. With bounce handling enabled,
                reps know which lead, contact, or person account has a bad email
                address, and they know which specific email wasn’t
                delivered.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableHtmlEmail</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether users receive Email-To-Case emails in HTML
                format (<samp class="codeph nolang">true</samp>) or receive a text
                version instead (<samp class="codeph nolang">false</samp>). This
                field has a default value of <samp class="codeph nolang">false</samp>. When this field is set to <samp class="codeph nolang">true</samp>, users receive a warning
                message about potential malicious HTML before they view incoming
                HTML email content.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname" id="enableInternationalEmailAddresses"><a name="enableInternationalEmailAddresses"><!-- --></a>enableInternationalEmailAddresses</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether non-Latin-based characters are allowed in email
                addresses (<samp class="codeph nolang">true</samp>) or not
                (<samp class="codeph nolang">false</samp>) when sending emails
                to and from Salesforce. This field has a default value of <samp class="codeph nolang">true</samp> in orgs created in Summer '20
                or later. In orgs created in Spring '20 or earlier, the default
                value is <samp class="codeph nolang">false</samp>. Available in
                API version 49.0 and later.<div class="box message info">
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>Review the Email Address
                            Internationalization prerequisites and considerations in
                            Salesforce Help before enabling this
                            setting.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableListEmailLogActivities</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether Salesforce logs sent list emails as activities
                <samp class="codeph nolang">(true)</samp> or not <samp class="codeph nolang">(false)</samp>. Default value is <samp class="codeph nolang">true</samp>.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableResendBouncedEmails</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether the system forwards a copy of each bounced
                email message to the sender (<samp class="codeph nolang">true</samp>) or only displays the bounce alert (<samp class="codeph nolang">false</samp>). This field has a default
                value of <samp class="codeph nolang">false</samp>. To enable this
                preference, enableHandleBouncedEmails<samp class="codeph nolang"> must be set to true</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableRestrictTlsToDomains</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether the selected Transport Layer Security (TLS)
                setting applies only to specific domains (<samp class="codeph nolang">true</samp>) or applies to all domains
                (<samp class="codeph nolang">false</samp>). This field has a
                default value of <samp class="codeph nolang">false</samp>.
                <div class="box message info">
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>To enable this preference, you must specify a
                            <strong class="ph uicontrol">TLS Setting</strong> other than Preferred and
                            provide the comma-separated list of domains through
                            <strong class="ph uicontrol">Deliverability</strong> in Setup. When this
                            field is set to <samp class="codeph nolang">true</samp>, any
                            domains not in the list use the system default TLS Setting of
                            Preferred.
                          </p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableSendThroughGmailPref</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Deprecated.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableSendViaExchangePref</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether users can use Office 365 to send emails <samp class="codeph nolang">(true)</samp> or not <samp class="codeph nolang">(false)</samp>. Default value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableSendViaGmailPref</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether users can use Gmail to send emails <samp class="codeph nolang">(true)</samp> or not <samp class="codeph nolang">(false)</samp>. Default value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">enableUseOrgFootersForExtTrans</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether emails sent through external email services
                (such as Gmail or Office 365) include the Salesforce footer (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). This field has a default
                value of <samp class="codeph nolang">false</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">sendMassEmailNotification</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether users receive an auto-generated status email
                from Salesforce for each mass email they send (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). This field has a default
                value of <samp class="codeph nolang">true</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d406937e102" data-title="Field Name"><span class="keyword parmname">sendTextOnlySystemEmails</span></td>

              <td class="entry" headers="d406937e105" data-title="Field Type">boolean</td>

              <td class="entry" headers="d406937e108" data-title="Description">Indicates whether all system emails are sent via text only
                (<samp class="codeph nolang">true</samp>) or allow other
                formats (<samp class="codeph nolang">false</samp>). This field has
                a default value of <samp class="codeph nolang">false</samp>.</td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of an EmailAdministrationSettings component.

<?xml version="1.0" encoding="UTF-8"?>
                <EmailAdministrationSettings xmlns="http://soap.sforce.com/2006/04/metadata">
                <enableEmailWorkflowApproval\>false</enableEmailWorkflowApproval\>
                <enableComplianceBcc\>false</enableComplianceBcc\>
                <enableEmailSenderIdCompliance\>false</enableEmailSenderIdCompliance\>
                <enableEmailSpfCompliance\>true</enableEmailSpfCompliance\>
                <enableEmailToSalesforce\>false</enableEmailToSalesforce\>
                <enableHandleBouncedEmails\>true</enableHandleBouncedEmails\>
                <enableHtmlEmail\>true</enableHtmlEmail\>
                <enableInternationalEmailAddresses\>true</enableInternationalEmailAddresses\>
                <enableResendBouncedEmails\>false</enableResendBouncedEmails\>
                <enableRestrictTlsToDomains\>false</enableRestrictTlsToDomains\>
                <sendMassEmailNotification\>true</sendMassEmailNotification\>
                <sendTextOnlySystemEmails\>false</sendTextOnlySystemEmails\>
                <enableUseOrgFootersForExtTrans\>false</enableUseOrgFootersForExtTrans\>
                <enableSendViaGmailPref\>false</enableSendViaGmailPref\>
                <enableSendViaExchangePref\>true</enableSendViaExchangePref\>
                <enableListEmailLogActivities\>false</enableListEmailLogActivities\>
                <enableEnhancedEmailEnabled\>false</enableEnhancedEmailEnabled\>
                <enableEmailConsentManagement\>false</enableEmailConsentManagement\>
                </EmailAdministrationSettings\>
            

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
                <Package xmlns="http://soap.sforce.com/2006/04/metadata">
                <types\>
                <members\>EmailAdministration</members\>
                <name\>Settings</name\>
                </types\>   
                <version\>49.0</version\>
                </Package\>
            

## Wildcard Support in the Manifest File

The wildcard character \* (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see [Settings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_settings.htm). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).

#### See Also

- [_Salesforce Help_: Email Address Internationalization](https://help.salesforce.com/articleView?id=emailadmin_eai.htm&language=en_US "Salesforce Help: Email Address
    Internationalization - HTML (New Window)")