Hi Himanshu,
I am only sharing my knowledge based on code definition. I can't give you any guarantee that there is no such method. email_to_user() function also uses php maier. I have shared mail() with you as an alternative. You can go deep in Moodle code and library.
I am only sharing my knowledge based on code definition. I can't give you any guarantee that there is no such method. email_to_user() function also uses php maier. I have shared mail() with you as an alternative. You can go deep in Moodle code and library.