function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DavidLeDavidLe 

Need help with AutoResponse email during lead creation using .net c#

I have built an advanced form with c# & .net to insert leads using API calls.   I had a recent request to start using the auto-response emails when leads are inserted and the triggers in the api don't seem to be working for me.   Here's and excerpt from the code:

                EmailHeader email = new EmailHeader();
                email.triggerAutoResponseEmail = true;

                binding.EmailHeaderValue = email;

                SaveResult[] sr = binding.create(newlead);

Am I missing some part of the call?  The email is never triggered.

Thanks,

David