when registering a user, but his mail must receive a generated password. Registration passes, but sending the letter does not go, gives an error.
ErrorException [ Fatal Error ]: Call to undefined method Kohana::config() and in the Email class of the email module shows this line
($config === NULL) and $config = Kohana::config('email'); I wrote everything in the config file of the module, it works through smpt, I specified smpt.mail.ru, a login password and port 25. Tell me what could be the problem. So that's all right.