It is not possible for a logged in site member to send a triggered email using WIX CRM.
To use emailContact () to send a triggered email you need a contactId .
You get a contactId by calling createContact (). The documentation says that createContact () should return a contactId whether the contact already exists or not.
However:
If the user is logged in , then all attempts to get a contactId result in the error “permission_denied, details: {“RequiredRole”:“Anonymous User”,“GivenIds”:“member → 635081b9-b9c0-40bc-8992-02d754fe5d2a”} (403)”
If the user is NOT logged in , then createContact () successfully returns a contactId .
Except in the case where the contact is already a site member, or even a deleted site member, when createContact () returns the error “permission_denied, details: {“Error”:“A member with these communication details (Email / Phone) already exists”} (403)”
Is this a feature or a bug?
At present I have to log off my site members before they can send a triggered email to a client. Not the best look.
How can I get an answer to my question?
Is a Wix moderator going to respond?
Do I need to make the post clearer?
Should I abandon Wix CRM and use a third party email delivery service like SendGrid?
Should I come to Wix offices in Tel Aviv to get an answer?
Wow I have been looking all around to an answer for this but seems that no one is willing to respond… WIX PEOPLE are you there???
I gave up on Wix and use SendGrid which seems to be doing the business for me.
Have you not read all the info supplied by Wix for Triggered Emails, which includes the difference between using Wix Users and it’s functions and Wix CRM API and it’s functions too?
Have you not seen the difference between the two of them?
https://www.wix.com/corvid/reference/wix-users.html
https://www.wix.com/corvid/reference/wix-users-backend.html
https://www.wix.com/corvid/reference/wix-crm.html
https://www.wix.com/corvid/reference/wix-crm-backend.html
https://support.wix.com/en/article/creating-a-triggered-email
https://support.wix.com/en/article/corvid-tutorial-sending-a-triggered-email-to-contacts
https://support.wix.com/en/article/corvid-tutorial-sending-a-triggered-email-to-members
https://support.wix.com/en/article/corvid-tutorial-sending-an-email-on-form-submission
It is all explained perfectly well in those tutorials already supplied by Wix, so why are you needing to use Wix CRM for triggered email to site members when it should be Wix Users instead.
So, in reply to your original post of ‘It is not possible for a logged in site member to send a triggered email using WIX CRM.’
Then the simple answer is yes as it should not be used for logged in site members!