Email Sending with Custom Files

I have a custom file with a form that collects data. How can I integrate email sending with a custom file so that a notification email can be sent when the form on the custom file is submitted?

Custom File contains your own code, you need to send the email yourself when you handle the form submission. For example, you may use Route_Action server event (assume you use v2021) to handle to HTTP POST, handle the submitted data and send your email. See https://discourse.hkvstore.com/t/using-route-action-server-event-v2021/3393/1