You need to sign in to do that
Don't have an account?
Bittus
How to create records from the data in attachment sent by inbound email service
Hi all,
Actually i need to generate records in account object based on the data present in the attached file, which wll be sent to Salesforce through email. I am trying to do so using Inbound Email Service, but am only able to read the body of the email but not the attachment data.
Actually i need to generate records in account object based on the data present in the attached file, which wll be sent to Salesforce through email. I am trying to do so using Inbound Email Service, but am only able to read the body of the email but not the attachment data.
For doing this first of all you have to save your attachment as record and once your attachment saved in any record (if the attachment is in csv format)
you have to parse that record and store each line of data in a list so when you are able to store those data in form of list you just have to do iteration over those
lists and insert each record in account object according to their index values and mappings.