8
Mule IMAP to SALESFORCE Integration

Mule imap to salesforce integration

Embed Size (px)

Citation preview

Page 1: Mule imap to salesforce integration

Mule IMAP to SALESFORCE Integration

Page 2: Mule imap to salesforce integration

Salesforce

Page 3: Mule imap to salesforce integration

• Sign up for one at link – http://developer.force.com/• After Signing into developer account, click your

name in the upper right corner, then click Setup > My Personal Information > Reset Security Token. Then, click Reset My Security Token. Salesforce sends your security to your registered email address.

• Consumer key and Secret - Salesforce connector to access an OAuth API, you also need a consumer key and secret.

• In your Mule application, need to include the namespace and schema location.

Page 4: Mule imap to salesforce integration

IMAP

Page 5: Mule imap to salesforce integration

• The IMAP Connector, configured as an inbound endpoint with a one-way exchange pattern.

• Mule application to retrieve email from an IMAP email server.

• IMAP is similar to POP3, except IMAP supports both online and offline modes. Like POP3, IMAP cannot send email.

Page 6: Mule imap to salesforce integration

Procedure

Page 8: Mule imap to salesforce integration

• IMAP (to fetch the attachments) from the mail server.

• Splits all the attachments and for each attachment.• Stores the input file into file location.• Retrieves the original InputStream of that file.• Maps with the Salesforce Object(Like Contact)• Inserts that Data into Salesforce.• Returns a Logger with payload.