[eluser]skunkbad[/eluser]
[quote author="zoreli" date="1341875441"]Hi
I use CI 2.0.2 version
I have a simple register form with 5 fields. When trying to register, form is submitted, but I get the following error.
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: libraries/Email.php
Line Number: 111
Error occurs when I try to send an e-mail to the new user, that just register.
line 111 is Email.php is the following:
foreach ($config as $key => $val)
Anyone can point me to the solution of this problem?
Regards,Zoreli
[/quote]
Are you extending the mail class? The email class by itself should never have this error.