To do this, open an empty message and write your message first. Then click "Next".

The list of teachers in the class appears. Now you can select the teachers as recipient for the message. If you want ot send the message to all teachers, you can click on "Choose all resources".