Loading
Enhance Salesforce with Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Email Services

          Email Services

          You can use email services to process the contents, headers, and attachments of inbound email. For example, you can create an email service that automatically creates contact records based on contact information in messages.

          Required Editions

          Available in: Salesforce Classic (not available in all orgs) and Lightning Experience

          Available in: Enterprise, Performance, Unlimited, and Developer Editions

          Use of email services in installed AppExchange packages also available in: Essentials, Group, and Professional Editions

          User Permissions Needed
          To configure Apex email services and email service addresses: Customize Application
          To create Apex classes: Author Apex
          • What Are Email Services?
            Email services are automated processes that use Apex classes to process inbound email.
          • Define Email Service Addresses
            Add an inbound email address for an email service.
          • Define Email Services
            Set up an email service to handle incoming email, and configure the service to process messages according to your users' needs.
          • The InboundEmail Object
            For every email the Apex email service domain receives, Salesforce creates a separate InboundEmail object that contains the contents and attachments of that email. You can use Apex classes that implement the Messaging.InboundEmailHandler interface to handle an inbound email message. Using the handleInboundEmail method in that class, you can access an InboundEmail object to retrieve the contents, headers, and attachments of inbound email messages, as well as perform many functions.
           
          Loading
          Salesforce Help | Article