I have a User class in the model and need to send a password reminder email.
- Does the controller instantiate a
Userand pass it (or values from it, rather) to aEmailclass in the view? In which case, would the controller then do the actual sending of the email? - Or would the controller call
User::sendEmail()and there not even be a view for the email (and theUserdo the sending)? - Or is there another model class for
Emailwhich handles the sending, and it is given to the viewEmail?
Or am I completely lost? ;-)
Thanks for any help you may be able to give me!