I've build a simple form in InfoPath 2007 with 'Submit' button using Custom Data Connection to send form data via Email. When I preview form in InfoPath form is sent correctly to email box, however once Published to SharePoint and embedded on website as Web Part, same form returns below error upon submission.
An error occurred while using the form. For more information, contact the site administrator.
An entry has been added to the Windows event log of the server. Log ID:5567