yes, every student will be emailed. we did it this way since we need to
email all students when a class is created.

we figured we could add in another function later that sends just one email
for other purposes


On Sun, Feb 23, 2014 at 2:33 PM, Reed Allman <notifications@github.com>wrote:

> In api.go:
>
> >  	if writeErr(err, w) {
> >  		return
> >  	}
> > +	go sendStudentEmail(cid)
>
> I take it this means all students from a class will be emailed every time?
>
> I think it would be better to have 3 params on the method (or maybe just
> 2) so as sendStudentEmail is analogous to just sending one student email. A
> utility function could then be strapped on top to loop over all students
> for a given cid. I've posted pseudo below in email.go
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/rdallman/flaming-wookie/pull/37/files#r9977500>
> .
>



-- 
><>Michelle Fish><>
Information Security Professional
CEH, MCITP, MCSA, SCJA
MichelleFish11@gmail.com