Send mail by retrieving contact ID

Hello everyone,

I’m sorry, but I come back again with my previous pb (Thanks to noahlovell and Pratham, and sorry if i open a new ticket. : it still doesn’t work.

Let me explain : the Customers can not log in the site : no subscription possible : they don’t have accounts: Only 2 or three persons can log in (2 employees and myself).

Customers make a reservation from a form on a page (without even registering), and after that I receive a notification of this reservation. So i log in as admin in the “back office” that I created, and I validate their reservation. At this point, an email must be sent to the customer to confirm his reservation (this email is in a field of the form that I validate).

However, the problem: it is me who receives the confirmation email, because it is me who is connected, and not the customer. I would like it to be sent to the customer who has sent the reservation, by retrieving maybe his ID or something else?

Question : is it possible to retrieve the ID of the client by a code (not a member, just a contact), and then i will try with a code to send the mail to this ID.

I’ve got this error the the google console : 109 Error: contactId does not match current session contact (401)
I know how to do for a member but with a simple contact?

Thank you very much for your help…

**Product:**Wix Editor