I have a console app that dispatches emails from the system. I wanted to build the email structure so that I can take advantage of Yii’s layout and views, so I can create an emailLayout, and then have many different views whether it’s a friend request, or any other notification.
How would I go about doing this?
It seems like widgets are not accessible and neither is render or renderPartial.
Thanks for any help.