06-06-2012, 12:56 PM
[eluser]Dandy_andy[/eluser]
I cant seem to use any of the email class functions anywhere in my site. I have set up my localhost email system and I can send and receive emails fine through SMTP. However, when loading the email library, none of the functions seem to work and I get the error message:-
"Fatal error: Call to undefined method Email::from() in C:\xampp\testsite1\application\controllers\test.php on line 11"
The undefined method error applies to anything related to the email library and I can't figure out why. I've tried to autoload the 'email' library but that doesn't work.
I have also tried using the php mail() function and that works fine. Why doesn't the library 'email' class work? Any ideas?
Thanks in advance.
I cant seem to use any of the email class functions anywhere in my site. I have set up my localhost email system and I can send and receive emails fine through SMTP. However, when loading the email library, none of the functions seem to work and I get the error message:-
"Fatal error: Call to undefined method Email::from() in C:\xampp\testsite1\application\controllers\test.php on line 11"
The undefined method error applies to anything related to the email library and I can't figure out why. I've tried to autoload the 'email' library but that doesn't work.
I have also tried using the php mail() function and that works fine. Why doesn't the library 'email' class work? Any ideas?
Thanks in advance.