Index: blocks/quickmail/email.php =================================================================== --- blocks/quickmail/email.php (revision 15924) +++ blocks/quickmail/email.php (working copy) @@ -97,7 +97,7 @@ $sql = "SELECT DISTINCT CONCAT(r.id, '_', usr.username), r.id AS roleid, r.name, r.shortname, usr.id AS userid, usr.username, usr.email, usr.firstname, - usr.lastname + usr.lastname, usr.mailformat, usr.auth, usr.emailstop FROM {$CFG->prefix}course AS c INNER JOIN {$CFG->prefix}context AS cx ON cx.id={$context->id} INNER JOIN {$CFG->prefix}role_assignments AS ra ON cx.id = ra.contextid @@ -155,6 +155,9 @@ $user->firstname = $content_record->firstname; $user->lastname = $content_record->lastname; $user->email = $content_record->email; + $user->mailformat = $content_record->mailformat; + $user->auth = $content_record->auth; + $user->emailstop = $content_record->emailstop; $user->id = $userid; $courseusers[$userid] = $user; }