Triggered Mails not sent anymore ?

Hi everyone,
I’m experiencing a very strange issue on all my website as my triggered emails stopped being sent (after a new contact is created).
It’s driving me crazy because this functionality is essential for me and I can’t find the problem…

I think it’s a problem on Wix side because my code worked without any problem before and suddenly stopped working. And also, I replicated the tutorial from Wix to send triggered mails ( https://support.wix.com/en/article/velo-tutorial-sending-a-triggered-email-to-contacts ) and even with the simplest code, the emails are not sent…

This is my test ( https://costerquentin.wixsite.com/trigger-mail-test ) site to investigate on the issue with a very basic form that should send an email to the new contact created…but no :cry:

The console log say the mail is “sent”, the new contact is created but nothing… the triggered mail isn’t sent…

Here is my code and some printscreens. Do you have any idea on what could be the issue ?

Has Wix changed some parameters / API / rules ?

Thanks for your help !

import wixCRM from 'wix-crm';

$w.onReady(function () {

});

export function signUpButton_click(event) {
 wixCRM.createContact({
 "firstName": $w('#nameInput').value,
 "emails": [$w("#emailInput").value],
 "interest_area": $w("#interestArea").value
  })
  .then((contactId) => {
   wixCRM.emailContact("trigger_test", contactId, {
 "variables": {
 "name": $w('#nameInput').value,
 "interest_area": $w("#interestArea").value
     }
    })
    .then(() => {
     console.log(contactId)
   console.log("mail normalement envoyé")
   $w('#check').show();
    })
    .catch((err) => {
     console.log("erreur",err)
    });
  });
}

Thanks for report!
I think it should be fixed. Please test again.

Great ! I tested it and it works :wink: :sunglasses:

For info, what happened ?

The issue was not automatically reported by Wix and it’s problematic…

2 days ago I found the issue accidentally by testing some code and who knows how many triggered mails were lost on client websites (without warnings). Some websites strongly rely on these triggered mails and clients could lose potential customers .

What if this happens again ? How could we be informed of such issues without losing time / customers ? Have you a website that reports theses bugs in real-time ?

Thank you very much for your help.

Regards,
Quentin

We will do a postmortem next week to make sure it will not happen again and we get alerts automatically as soon as possible.

Hello Juozas,

Just a quick follow up to know how the postmortem went about the dead triggered mails ? Did you set up knew safeguards or alerts in case it happens again ?
(sorry if I sound a bit annoying but those triggered mails are so important that I want to be sure it won’t happen again (or at least I’ll have an alert…))

Thanks :wink:

It seems that this issue is happening again!
My triggeredEmails stopped out of sudden.

Can anyone confirm?

same here not triggering

yes same here. All sites have stopped triggering them. Obviously the issue from yesterday is not resolved completely.

@noahlovell Can you get this resolved for us?