You can fake a "from" user to use in the email_to_user() function. Have a look at /admin/process_email.php.
General developer forum
Default PHP mail in Moodle
This discussion has been locked so you can no longer reply to it.
You can fake a "from" user to use in the email_to_user() function. Have a look at /admin/process_email.php.