Hook code for Contact Us database

I created “Contact Us” Database to allow visitors to leave message.
I would like to know if it’s possible to make a hook code that once the visitor hit the submit button, it will automatically send an email to me?

If so, could anyone help me with the code? I am not so familiar with coding…

Thank you very much.

There’re 2 options:

  1. To use a contact us form that automatically sends you an email (You can find such forms in the “Contact” section on Wix’s side bar [when you click the plus button). No code is needed but it is limited - email can be sent to only one address, only certain amount of email per time etc.).

  2. You can integrate with a 3rd party email service and use some code to send an email to yourself.

You can read more here: https://support.wix.com/en/article/corvid-tutorial-sending-an-email-on-form-submission