Is it possible to send emails when a specific event happens?

I am using a self-hosted docker instance of Appsmith and I’d like to send an email with the data contained in a form, when a user of the app uploads a file (email settings are set correctly). Is it feasible through JS?

Thanks.

Hi! You can use a SMTP datasource to send emails. If you want to send the email when a user uploads a file, you can trigger it in the onFilesSelected event of the FilePicker widget.

Ok, thank you for the suggestion! I managed to solve my problem.