We have a custom entity , let's call it new_custom_mail, which contains a Lookup field of mailbox.
We have a requirement to check an incoming (statuscode = Received) Email's 'To' field and if the 'To' field contains a Queue, retrieve the mailbox associated with that Queue and then retrieve the new_custom_mail record with the same mailbox.
This is our code:
What could be the reason that we are getting 0 results when filtering new_custom_mail by mailbox?
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.