---
schema_version: "1"
id: 0d05c70a9bcb66937863e289faa81e7c82b5eb644d6662f7df3d89abf27c4bdc
title: Manage Version Settings for Visualforce Email Templates in Salesforce Classic
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/email_visualforce_version_settings.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.email_visualforce_version_settings.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2275f3cabab027dc9cd66786547af767dde6b8a662db3b7a1e51d686948c4f3d
description: To aid backwards-compatibility, each Visualforce email template is saved with version settings for the specified version of Visualforce and the API. If the Visualforce email template references installed managed packages, the version settings for each managed package referenced by the Visualforce component are saved too. Saving version settings ensures that as Visualforce, the API, and the components in managed packages evolve in subsequent versions, a Visualforce email template is still bound to versions with specific, known behavior.
products:
  - Sales Cloud
  - Cross Cloud
  - Service Cloud Voice
release: "264"
---
# Manage Version Settings for Visualforce Email Templates in Salesforce Classic

To aid backwards-compatibility, each Visualforce email template is saved with version settings for the specified version of Visualforce and the API. If the Visualforce email template references installed managed packages, the version settings for each managed package referenced by the Visualforce component are saved too. Saving version settings ensures that as Visualforce, the API, and the components in managed packages evolve in subsequent versions, a Visualforce email template is still bound to versions with specific, known behavior.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available in: <strong>Group</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>,
                <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Contact Manager</strong> Editions
              </p>
              <p style="margin-bottom:0;">Mass
                email not available in: <strong>Personal</strong>, <strong>Contact Manager</strong>, and <strong>Group</strong>
                Editions </p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d119474e91">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d119474e91 ">To set version settings for Visualforce email templates:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d119474e91 ">Customize Application</td>

          </tr>
        </tbody>
      </table>

A package version is a number that identifies the set of components uploaded in a package. The version number has the format majorNumber.minorNumber.patchNumber (for example, 2.1.3). The major and minor numbers increase to a chosen value during every major release. The patchNumber is generated and updated only for a patch release. Publishers can use package versions to evolve the components in their managed packages gracefully by releasing subsequent package versions without breaking existing customer integrations using the package.

1. Choose one of these options.
    - If you have permission to edit public templates, from Setup, enter Email Templates in the Quick Find box, then select **Classic Email Templates**.
    - If you don’t have permission to edit public templates, go to your personal settings. Enter Templates in the Quick Find box, then select **Email Templates** or **My Templates**—whichever one appears.
2. Click the Email Template Name for the Visualforce email template.
3. Click **Edit Template** and then click **Version Settings**.
4. To specify the Salesforce API and Visualforce version for the template, select the Version of the Salesforce API.
    
    The API version is also the version of Visualforce used with this template.
5. To configure the package version settings for the template, select a Version for each managed package referenced by the Visualforce email template. This version of the managed package is used by the Visualforce email template if later versions of the managed package are installed, unless you manually update the version setting. To add an installed managed package to the settings list, select a package from the list of available packages. The list is only displayed if you have an installed managed package that is not already associated with the Visualforce email template.
6. Click **Save**.

Note the following when working with package version settings:

- If you save a Visualforce email template that references a managed package without specifying a version of the managed package, the Visualforce email template is automatically associated with the latest installed version of the managed package.
- If a Visualforce email template references a managed package, you can’t remove the email template's version setting for the managed package.

#### See Also

- [Create Visualforce Email Templates in Salesforce Classic](https://help.salesforce.com/s/articleView?id=sales.creating_visualforce_email_templates.htm&release=264.0.0&type=5 "Use the Visualforce programming language to create targeted and personalized email content.")