I have a critical problem now. I tested 3 forms, only one form calls that hook and print out error log in debug.log. The other two did not call that hook. I am freaking out now, I don’t know what happen, any idea can cause this?
They just changed the url name from wap.domain.local to intranet.domain.local. Does it cause the problem? I tested on 2 other forms. It does not play with that hook either, so the conclusion is only form call that hook. It is a bad day for me. I assume that all form submissions should use that hook to build recipients list. Even if I added single hook for each form ID then call the same function, it does not work out that way. Now it is a bad deal, need a solution?