Activity Forums Salesforce® Discussions What is the use of apex email services in salesforce ?

  • Nikita

    Member
    November 4, 2019 at 7:23 am

    Hi Prachi,

    You can use email services to process the contents, headers, and attachments of inbound email. Email service is a special process that uses Apex classes to process incoming email messages. When you set up an email service, we need to generate a special email address in which salesforce will receive your emails. For the same, we need to create one apex class to implement Messaging.InboundEmailHandler interface. The email services will then invoke a handleInboundEmail method on the Apex class whenever an email is received on the email address.

    For example, you can create an email service that automatically creates contact records based on the contact information in messages.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos