Skip to main content

Posts

Showing posts from May, 2013

EmailService In Salesforce

Email services are automated processes that use Apex classes to process the contents, headers, and attachments of inbound email. An email service is a system in Salesforce.com that gives you an email address to which you can send emails that you want to be handled by Salesforce.com in some way. The "handling" of the email is through custom APEX code that gets executed when an email is received at that address. At first we need to create an apex class which will process the incomming email. From incomming email all the information entered are processed here.From that information salesforce automatically creates record.The object in which salesforce will create record will be defined in this class.This class must implements  Messaging.InboundEmailHandler interface . So this class will look like in this way global class myHandler implements Messaging.InboundEmailHandler {        global Messaging.InboundEmailResult handleInboundEmail(Messaging.InboundEmail emai...