Your answer is on the way...

Sending a Triggered Email with Code

1 min read
Visit the Velo by Wix website to onboard and continue learning.
Triggered Emails allows you to create a template for emails that you can send to your Contacts or Members, using code. Before sending the email, your code can inject information into the template to personalize it with any data that is available in your page code. 

The general flow is to paste the generated snippet into your code where you want the email to be sent. Then edit the snippet so that it uses the ID of the currently logged-in member or the newly created contact, and the values you want to insert for the variable placeholders.

Did this help?

|