The result in either case is the same. There's no need to maintain a class list in your email program.
Don't come here every time you want to send students a message!
Both alternatives above provide an email address for your class. Save it in your email program.