views:

30

answers:

2

Hello

Im going to do an Email class for sending emails in my MVC framework. I also have a login class that just checks if the user is in the database.

Should I put those classes in the library folder or should I implement them as models?

I tried to do search but couldnt find straight answer..

A: 

IMHO mailer classes are similar two controllers. They should fetch the data from a model and than render a view (email).

jigfox
A: 

http://www.zendcasts.com/painless-html-emails-with-zend_mail/2010/06/

Mytholog
It seems like its positioned in the library.
PPPHP
Yes, but it uses Zend View to render, so logically it's a controller
jigfox