+ Start a Discussion
Kristopher EstradaKristopher Estrada 

Email Service with Email Attachment as Files and Body as Note

Hello-

I have a custom object to track invoices. Users will be emailing invoices to a single email address. 

My requirememnts:
  • Create new custom object record anytime an email is sent to exampleemail@example.com
  • Name the record the subject line of the email 
  • Include attachments as Files on the custom object records (we are switching to Lightning and want to leverage the prview feature of Files)
  • Create Note (not part of Notes and Attachments) with the body of the email
Thanks for taking a look. I appreciate the help. 

-K
Dilip_VDilip_V
Kristopher,

refer to this links:
http://www.jitendrazaa.com/blog/salesforce/email-services-in-salesforce-with-simple-example/
http://blog.jeffdouglas.com/2010/03/12/writing-an-inbound-email-service-for-salesforce-com/
Let us know if you have any issues.

MArk it as best answer if it works.

Thanks.