Code for sending emails from Moodle Forum -


can know code sending emails forum? when replay on post in forum user received emails, need change email , grateful if 1 tell me code (function) send email.

best regards, jordan

if understand correctly may need utilise built in function 'email_to_user' found in /lib/moodlelib.php.

function email_to_user($user, $from, $subject, $messagetext, $messagehtml = '', $attachment = '', $attachname = '',                        $usetrueaddress = true, $replyto = '', $replytoname = '', $wordwrapwidth = 79) 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -