How do I trigger code on the mail send event? - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » How do I trigger code on the mail send event? How do I trigger code on the mail send event? Last post 04-27-2016 07:46 AM by kbirchall. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-15-2016 07:46 AM kbirchall Joined on 04-15-2016 Posts 3 How do I trigger code on the mail send event? Snip.PNG Reply Contact Hello I'm looking to trigger C# code when the send email button is triggered in an Infopath 2010 Form. Would anyone be able to advise on how it would be done? Thanks and Regards, 04-18-2016 05:34 AM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,112 Re: How do I trigger code on the mail send event? Mark as Not AnswerMark as Answer... Reply Contact You can't do it easily on that button, but here's another idea: why not add a new button to your form called "Send" that has rules defined on it. You should then be able to add code behind to the button. Patrick HalsteadProject Manager at Qdabra 04-27-2016 07:46 AM In reply to kbirchall Joined on 04-15-2016 Posts 3 Re: How do I trigger code on the mail send event? Example2.PNG Mark as Not AnswerMark as Answer... Reply Contact Could you provide a sample of code behind? Would it open something like the send message section or would it only show something like the attached image? Nevermind found some code and it works the way my users require it. Thank you for your help! :) Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
You can't do it easily on that button, but here's another idea: why not add a new button to your form called "Send" that has rules defined on it. You should then be able to add code behind to the button.