Hi Anindya,
I simulated this function which is only sending email. But this function is used by another expression(let's say B)which as you said, calling an expression(let's say A) that is related to DB.
But i don't get the error while simulating expression B or expression A.
Thanks a lot.