Emailing groups of students (the Class service)

The CLASS service allows staff to email all students or selected groups of students.

The class email system should not be used to advertise commercial services to students or otherwise contravene the University IT regulations and code of conduct.

How it works

  • You can email specific groups of students using course code(s) and other criteria
  • You do not need to know any names or student numbers, only how to select the course code or group of students that you want to reach
  • The underlying lists of students are kept up-to-date automatically

Messages to large numbers of students and messages from certain categories of sender are automatically directed to for approval before being sent out.

Find course codes

First, locate the course code(s) for the students you are emailing.

  • You can find individual codes by browsing or searching the online Course Catalogue
  • Or you can get the full list of 4000+ codes by emailing with the body text: get class codes

Email class

Once you have obtained the specific course code(s), it is used to create an email address, that is sent to the target group of students.

Ensure that you include the quotation marks and dashes as displayed in the examples.

The email you'll send is to an address created in this format: "class--COURSECODE"

For example:
  • To email all students registered on the course Law 1B, which has the course code LAW1002, use the email address "class--LAW1002"
  • The system is not case sensitive so you can use upper or lower case

Email multiple course codes or student groups

To email students in multiple course codes or email specific groups of students, such as Postgraduates or Undergraduates, you can add a modifier into the email address you are creating.

A modifier lets you add multiple selection criteria:

To include multiple course codes

Use the plus symbol + in the format below:

For example:

  • To reach all students registered on LAW1002 and all students registered on LAW1005, use the email address: "class--LAW1002+LAW1005" 
To include multiple selection criteria

Use the ampersand symbol & in the format below:

For example:

  • To reach all the first year Undergraduates in the College of Arts and Humanities, use the email address: "class--U_1&F_ARTS"

Selection criteria for student groups, colleges and more

There are lots of ways to target particular groups of students and in particular colleges. You can use these on their own or in conjunction with course codes in the form &COURSECODE.


(prefix P_)

  • P_ followed by number 1 to 8 indicate curriculum year of Postgrad study
  • P_9 means "9th or subsequent year of PG curriculum study"
  • P_E means "not final Postgrad curriculum year"
  • P_F means "final Postgrad curriculum year"
  • P_A, P_B, P_C and P_D mean respectively Attendance Years 1, 2, 3, 4 (a student re-sitting First Year once is Curriculum Year 1, and Attendance Year 2, i.e. P_1 and P_B)
  • G means "Attendance Year 5 or greater than 5"

For example: "class--P_1" - goes to all first year postgraduates


(prefix U_)

  • U_ followed by number 1 to 8 indicates curriculum year of Undergrad study
  • U_9 means "9th or subsequent year of UG curriculum study"
  • U_E means "not final Undergrad curriculum year"
  • U_F means "final Undergrad curriculum year"
  • U_A, U_B, U_C and U_D mean respectively Attendance Years 1, 2, 3, 4 (a student re-sitting First Year once is Curriculum Year 1, and Attendance Year 2, i.e. U_1 and U_B)
  • U_G means "Attendance Year 5 or greater than 5"

For example: "class--U_1" goes to all first year undergraduate students

College shortnames

(prefix F_)

  • F_ARTS = College of Arts and Humanities
  • F_MVLS = College of Medical, Veterinary and Life Sciences
  • F_SCIENG = College of Science and Engineering
  • F_SOCSCI = College of Social Sciences
  • F_SERVICES = Glasgow International College
  • F_EXTERNAL = External organisations eg Glasgow School of Art

For example: "class--F_ARTS" goes to all students registered in the College of Arts

"class--U_1&F_ARTS" goes to all first year undergraduate students registered in the College of Arts

Classification code

(prefix C_)

  • C_ORD = Ordinary
  • C_HONS = Honours
  • C_RES = Research
  • C_TGT = Taught Higher Degree
  • C_UCER = Undergraduate Certificate
  • C_NON = Unclassified

For example: "class--C_RES&P_1" goes to all first year postgraduate research students

Method of study

(prefix T_)

  • T_F = full-time
  • T_P = part-time
  • T_T = part-time paying full fee

For example: "class--T_P&F_ARTS" goes to all part time students in the College of Arts

Attendance status

(prefix W_)

  • W_DIST = Distance Learning
  • W_ENRL = Class Enrollment
  • W_ERAO = Erasmus Outgoing
  • W_ERIN = Erasmus in
  • W_EXCO = Exchange Out
  • W_EXIN = Exchange In
  • W_EXON = Exams Only
  • W_LANG = Language Year Out
  • W_RSCH = Research
  • W_SABB = Sabbatical
  • W_VIST = Visiting
  • W_WRKP = Work Placement

For example: "class--W_EXON&F_MVLS" goes to all students registered 'exams only' in the College of MVLS 

Qualification code

(prefix Q_)

  • Codes are 9 or 10 characters long. e.g. D199-2300

For example: "class--Q_D199-2300" goes to every student working towards qualification code D199-2300

Adviser of studies code

(prefix _A)

  • Each Adviser of Studies' code is their MyCampus identifier and is 7 characters long.

For example: "class--A_0123456" - goes to all advisees of adviser 0123456

UCCA subject code

(prefix S_)

For example: "class--S_D199" goes to all students in UCCA subject area D199