Print this page

Why does auto response not work with Cases/Leads that are created via the API?

Knowledge Article Number 000004302
Description

When custom coding is used to make a web-to-case or web-to-lead via the API, the auto-response email is not working. The case or lead is generated, but the email response is not sent to the person who submitted it, even if the Auto-Response rule is made and enabled.

Resolution

For making an auto-response in custom web-to-case or web-to-lead work, the Autoresponse should be set to true in Email header. The "triggerAutoResponseEmail" field specifically has to be set to "true" in the API call being made in order for auto-response to work with the API.

Further information how this can be accomplished can be found here: 

http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_header_emailheader.htm?SearchType=Stem

 





promote demote