created a triggered email template
WHAT I’M DOING:
I have a form and upon submission I am:
storing form data to a collection AND sending an email to myself with the form info
Since I am not sending the email to the VISITOR, nor to a SITE USER… I am doing this on the backend so I can designate the EMAIL TO a hardcoded contact - me.
WHAT I HAVE COMPLETED
created a triggerd email template
I created myself as a CONTACT in my site contact list
and using a call to the backend function: wixCrmBackend.emailContact
I hard coded the email id to the triggered email template
BUT I need the contact ID – and I am not sending the email to the new contact.
NOTE: In the code sample that accompanies the documentation for backed/emailContact —> is comments to user: // Get Contact ID (see attached code scrnshot below)
QUESTION
I can’t find anywhere a function that retrieves / gets a contact or a contact ID.
How can I get the Contact ID for a specific contact?
OR, alternately, is there any way to hardcode the RECIPIENT email address?
Cheers! Cynthia-