I have a User
class in the model and need to send a password reminder email.
- Does the controller instantiate a
User
and pass it (or values from it, rather) to aEmail
class 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 theUser
do the sending)? - Or is there another model class for
Email
which 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!