Question
As per the OOB structure how we will identify the source email address of the created case record from incoming email
14:53 Jul 26, 2023
Hi Community,
We have two email address configured to create record in case via the out of the box functionality "register case from incoming emails". As per the OOB structure how we will identify the source email address of the created case record, as both of the emails are configured under supervisor.
Like
1 comments
17:50 Jul 26, 2023
I assume what you're after is the mailbox that received the email that the case was created from. Correct? You can determine the mailbox that the case was created from by doing the following:
- Read Case to get "Parent activity" column. This is the email that created the case.
- Read from "Email message" where Activity = Parent Activity from the Case. This will give you the MailboxSyncSettings that the email is from as one of the columns. The MailboxSyncSettings record is the email account that received the email.
- Read the MailboxSyncSettings record returned from #2 to get the details about the mailbox that the email was received from.
Ryan
Show all comments