You need to sign in to do that
Don't have an account?
jaden
Email to Case Service
I have a request to parse an incoming email and create a case and possibly the account and contact from the information in the body of the email, that part is fine.
However, the user also requested;
that my inboundemailhandler should only fire when the the incoming email is from the email to case emailservice.
How do I limit that? Do I test the fromaddress to be the long address (email services address)?
Any suggestions, appreciated!
sfdcfox
You configure a handler and bind it to one or more email addresses. By the very nature of this configuration, it will only fire when received at the appropriate address. You can restrict the origins to a list of email addresses or domains (or any combination thereof). Emails from unapproved addresses or domains will be bounced. There's no need to write any code for this.