I am trying to send an email through a widget. I have created a form that user will fill out and I want it to send all the form data to our company email. Any help would be appreciated.
There currently is no API to send email via a widget. If you wish to do this you will need to write a custom widget extension or REST endpoint to call and then you can use the in-process API to do this. I suggest reviewing the developer training in Documentation as well as the API docs.