triggered email is not sent when user is the account owner

Hello,
I’m trying to send this triggered email
wixUsers.emailUser(‘R3M6wGA’, wixUsers.currentUser.id , {
variables: {

}})
.then( () => {
console.log(“Triggered email sent”);
} )
.catch( (err) => {
console.log(err);
} );

This triggered email is sent to anyone except for the owner of the site.

I get a message on the console that the Triggered email sent
but i do not receive this email
It is probably a bug inside wix… but they have asked me to post this in the forum

BTW -
Is there any other way I can send an email to the admin from the code when a user performs a certain action?

Thank you
Anat

Hi, Thank you for the post.
You are correct, it is a bug in our end. We are currently investigating it and will update once we have a working solution.

Thanks!

any news with this?

It has been more than one month now. It causes us damage. Do you have an estimate?

Any estimates on this issue? It’s been more than one month now. Any workaround?

Please, can you check and write to me at salna@wix.com if it works or not? We did some fixes and we cannot recreate it anymore.

1 Like

It now works! Thank you