[eluser]brandobandido[/eluser]
[quote author="InsiteFX" date="1303035778"]For one you should have your send email in a library not a function!
Code:
// You do not need to assign array here!
// try this!
function sendEmail($data)
InsiteFX[/quote]
InsiteFX, as you have read in my first post here. I mentioned earlier that I created a library named "Functions". And under that library, I have the "SendEmail" method.
It's really strange because it works when I used it in my other controllers.