Email launched by event not working.

santrym
Mega Expert

I'm really puzzled. I have an event triggered email working in our Dev environment, but I cannot get it to work in the Test environment. I have checked the even log, and the events are being triggered, but then when I check the email log, there is nothing there. My email notification is supposed to be triggered by the even seen in the log, but nothing is happening. Is there any known issues with firing emails from events? Any ideas of what I should check? I feel like I've tried everything. Any advice/thoughts would be appreciated. Thanks

1 ACCEPTED SOLUTION

santrym
Mega Expert

Turns out the issue was that when I passed an inactive user as a parameter, nothing would be sent, even if the user record had an email address. To get around this, I just passes the user's email as the parameter.


View solution in original post

13 REPLIES 13

bernyalvarado
Mega Sage

Hi Michael,



Have you confirmed if your event was triggered? You can validate that by navigating to System Logs >> Events or directly entering sysevent.list and then hitting enter on the navigation window.



Thanks,


Berny


santrym
Mega Expert

Turns out the issue was that when I passed an inactive user as a parameter, nothing would be sent, even if the user record had an email address. To get around this, I just passes the user's email as the parameter.


Thanks for sharing back what was the issue. It's great you were able to resolve it!


Michael Bachme1
Kilo Guru

I have the same issue. The email triggers for some users, but not others. I've checked everything from email notification setting (send to event creator) to user profiles, and cannot determine the common denominator between those that work and those that don't.