Hi,
I have a unique problem. I have set up triggered emails which are sent out via velo on various events. The events occur when the site user performs certain actions on the site. The velo code on the page captures the event, performs certain validations and then sends the triggered email through wix CRM apis “emailMember” and “emailContact”
emailMember - Velo API Reference - Wix.com emailContact - Velo API Reference - Wix.com
The triggered email dashboard shows that the counts are increasing which means the emails are getting sent. However, they are not reaching the target inbox when the inbox is a business email with a proprietary domain such as info@xyzcorp.com . When the target email is a free email domain like gmail or yahoo, it reaches without any problem.
My hunch was some spam filters or emails being redirected to specific folders, but I checked and there are none. We even contacted the email service provider to check if there are any filters at the domain level, but found none. We checked the email quarantine too, and nothing was found there.
The next hunch was, the problem occurs because the sending email id and the receiving email id were the same, eg info@xyzcorp.com is the sender of the triggered email. And the inbox that it is getting delivered to is also the same inbox. I thought that might be causing the problem. To test that, I changed the sender email id to another id of the same domain (eg. support@xyzcorp.com ). Still the email didn’t get delivered to info@xyzcorp.com .
Then I thought that may be the problem is with that particular domain. So I changed the sender email id to an email id of a completely different domain (eg info @octoxyz.com ), still the same issue. I tried with different id for sender of this domain ( eg. sender @octoxyz.com ), still the same issue.
And finally, I changed the sender and the receiver to a gmail id (eg xyzocto@ gmail.com ) , and the email came to that gmail id.
The scenarios I have tested so far:
Sender Id Receiver id Result
info@xyzcorp.com abc@gmail.com Success — sender is proprietary domain, receiver is free domain
info@xyzcorp.com info@xyzcorp.com failure — same proprietary email as sender and receiver
support@xyzcorp.com info@xyzcorp.com failure — sender and receiver ids are different but of the same proprietary domain
info@octoxyz.com info@octoxyz.com failure — same proprietary email as sender and receiver, but the domain is different from previous test
sender@octoxyz.com info@octoxyz.com failure ---- sender and receiver ids are different but of the same proprietary domain
info@octoxyz.com info@xyzcorp.com failure ---- Sender is from one proprietary domain and receiver is from another proprietary domain
abc@gmail.com abc@gmail.com Success — Sender and receiver are same but from a free domain
abc@gmail.com xyz@gmail.com Success — Sender and receiver different and are from free domain
abc@gmail.com info@xyzcorp.com failure ---- sender is from free domain and receiver is from proprietary domain
abc@gmail.com info@octoxyz.com failure ---- sender is from free domain and receiver is from a different proprietary domain
To further confirm if the emails are actually getting sent or not, we added extra code that logs the sent email information into a collection. That code gets executed every time emailMember and emailContact is successfully executed (when their promise is fulfilled). And the collection in which the email log is entered shows that emailMember and emailContact apis are getting executed successfully.
The analysis has made one thing clear that the emails get delivered when receiver is of a free domain.
However, I repeated the same tests on another site of mine, and there, everything worked as expected, no issues whatsoever!
This is absolutely inexplicable behaviour and I’m completely clueless here. I have raised two different tickets with Wix support but I havent received any satisfactory analysis of the problem or a resolution.
I would really appreciate some help here. Thanks!