Accessing YiiMailer from within the view
Closed this issue · 2 comments
vercotux commented
Is it possible? How? If not, it should be added, perhaps by always including a $mail variable in the data.
vernes commented
You can pass an instance through setData just as any other param
vercotux commented
So I should pass the exact same parameter along with every single call that I make? That's a terrible workaround.