@task(base=BaseInstructorTask)
def send_bulk_course_email(entry_id, _xmodule_instance_args):
 action_name = ugettext_noop('emailed')
 visit_fcn = perform_delegate_email_batches
 return run_main_task(entry_id, visit_fcn, action_name)

@ task ( base = BaseInstructorTask ) def send_bulk_course_email ( entry_id , _xmodule_instance_args ) : action_name = ugettext_noop ( 'emailed' ) visit_fcn = perform_delegate_email_batches return run_main_task ( entry_id , visit_fcn , action_name )
sends emails to recipients enrolled in a course .