Deepa, there are a few things I would check.
- Confirm that other emails are being sent out of the system
- Check your code to ensure that it is using the same SMTP server that the rest of Maixmo is using. I like to use send email code that looks like this:
MXServer.getMXServer().sendEMail("send to email address", "send from email address", "Subject", "Message")
- Check to see if your automation script is actually firing. You could do this by setting the script to a DEBUG logging level.
- Next I would check to ensure that the planners have email addresses or you are handling null email addresses. I have seen issues with escalations that try to send to people without email addresses.
I hope this helps, Phil