vernes/YiiMailer

Accessing YiiMailer from within the view

Closed this issue · 2 comments

Is it possible? How? If not, it should be added, perhaps by always including a $mail variable in the data.

You can pass an instance through setData just as any other param

So I should pass the exact same parameter along with every single call that I make? That's a terrible workaround.