I am trying to modify some php code and the previous coder has used a function like
if (!@sendMail($email, $subj, $msg, $site_email)
is there a function or method named sendMail() in php for mail functionality.
This is called inside a method which is a class method. Since this class does not inherit from any other class i’m guessing it’s a php built in function.
But i can’t find anything on this when searching on google… i just find the normal mail() function.
Please advice.
Edit – Looks like i’ll have to dig a bit more of code and see where it’s defined. Anyone has any helpful hints for digging out the function definitions in a project that’s basically spaghetti code.
And many thanks for all the help until now.
Some one would have used that function in their own class or define it globally, but finally they have to call
So there is only mail function.