Welcome Guest, Not a member yet? Register   Sign In
Error using Email Class
#11

[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.
#12

[eluser]InsiteFX[/eluser]
If it's a library then you should be using the Consructor and get_instance like I showed you above!

InsiteFX
#13

[eluser]brandobandido[/eluser]
Anyway, thanks for the replies!

I solved this issue somehow with keen observation and repeated testing! ;-)




Theme © iAndrew 2016 - Forum software by © MyBB