Loading

Salesforce Org Migration and Email Service Address Updates

Veröffentlichungsdatum: Oct 14, 2026
Beschreibung

If your Salesforce org has been migrated, email for your email service address may still be being delivered through your previous Salesforce location. Generally this is not a problem - email is directed to the location where it was initially created, and if your organization has been migrated to a different location, the Salesforce mail service detects that and routes it to your organization's current location, adding only a few seconds to delivery and processing.

Lösung

This article explains how to check whether your email service address routes directly to your current Salesforce location after an org migration, and how to regenerate the four types of email service addresses affected by org migrations, if you choose to.

How to Check Whether Your Email Service Address Routes Directly to Your Current Location

If your email service address contains your current instance name, it routes directly to the location where your organization exists. For example, if your email service address is support@3-zzxdj1m9.2-4482eai.usa360.case.salesforce.com and your current instance is usa360, it routes directly and no action is needed. If your current instance is not usa360, your email service address routes through another location, and you can consider whether you want to regenerate it to route directly.

Whether You Should Regenerate Your Email Service Addresses After an Org Migration

Regenerating your email service address after an org migration is not required, because Salesforce automatically routes email to your organization's new location. If you prefer to avoid the few seconds of delay in delivery and processing, or you prefer not to be subject to any delays or issues in a location where your organization no longer exists, you can regenerate your email service addresses. Regenerating allows mail to route directly to your new location without routing through your previous location first.

The following sections give regeneration instructions for each of the four types of email service addresses affected by org migrations.

How to Regenerate an Email-to-Apex (Email2Apex) Email Service Address

For information on setting up Email Service addresses in Salesforce, see Salesforce Help: Email Services.

  1. Go to Setup / Develop / Email Services.
  2. Find the existing service address and review it to see what options you have set up so you can set the new one up similarly.
  3. Click New and populate the following:
    1. Email Service Name: nameForYourService
    2. Apex Class: nameOfYourApexClass
  4. Select the Active checkbox.
  5. Click "Save and New Address."
  6. On the next screen, give the address a name, empty the "Accept Email From" box, and click Save.
  7. Use the email service address that Salesforce supplies. This is the new email address you forward emails to in order to be processed.
  8. Update the address in any forwarders or other systems that send mail to it.

How to Regenerate an Email-to-Case (Email2Case) Email Service Address

For detailed documentation about creating Email-to-Case routing addresses and configuring forwarding, see Salesforce Help: Configuring Routing Addresses.

  1. Go to Setup → Email-to-Case.
  2. Find the existing routing address and review it to see what options you have set up so you can set the new one up similarly.
  3. Carefully note down all the attributes, as the existing routing address needs to be deleted — two routing addresses can't have the same email address.
  4. Delete the routing address.
  5. Click New (routing address) and populate the following:
    1. Routing Name
    2. Email Address (same as the deleted routing address)
    3. Other attributes noted in step 2
    4. Click Save
  6. Get the email service address associated with the new routing address. This is the new email address you forward emails to for Email-to-Case to process.
  7. Go to your forwarding configurations for your inbox and replace the old email service address with the new one. Note: Email-to-Case does not process any emails received while the old email service address is in use.

How to Regenerate an Email-to-Salesforce (Email2Salesforce) Email Address

For details on using Email to Salesforce, see Salesforce Help: Email to Salesforce.

  1. Obtain the domain name of your Email-to-Salesforce address by going to the Email to Salesforce section of your Email Settings.
  2. Copy the domain name to your clipboard.
  3. Log into Workbench and run the following SOQL query (SOQL is Salesforce Object Query Language), replacing yourdomainname with the domain name you copied:
    1. select id from emailservicesaddress where emaildomainname = 'yourdomainname'
  4. On the query result, click the ID in the ID field. On the panel that appears, click Delete and confirm that you want to delete that record.
  5. Return to the Salesforce app and access the Email to Salesforce section in your Email Settings — a new email address is generated and displayed on the page immediately.
    Note: if you stored your previous Email-to-Salesforce address(es) in your contact list, update those addresses with the new one.

How to Update an Email to Chatter Groups Address After an Org Migration

For details on using email to post to Chatter groups, see Salesforce Help: Email to Post.

You do not have to regenerate the Chatter Group email address, because Salesforce generates it dynamically when you access the Groups page. However, if you previously saved a copy of the address from your old location, you may need to update it.

  • Visit the Chatter Group and find the current "Post by Email" address in the Group Details panel.
  • Update any address books, forwarders, or other systems where the Chatter Group address was stored.
Nummer des Knowledge-Artikels

005101741

 
Laden
Salesforce Help | Article