-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sent email console and application #438
Comments
Which platform is this? Could it be a filesystem permission problem? |
It's a vps Ubuntu 20.04 Server (64bit), what permission I've to check ? Thanks |
Well it could be related to the permissions on runtime/* folder/files which when used from console are created with a user, but the httpd process is running with a different user and has no write permission (www-data usually). |
Do you have any log of the failed action? Mailer settings are the same for web and console? |
I have to check in the runtime / log folder right ? Yes configs are the same. |
as soon as i get home i will check the user with permissions, thanks. |
Then check in the app.log if there's any error relevant to the e-mail failing to be sent. |
were exempt from logs: rofl: now I comment the lines and regenerate the warning ...
The app.log file told to me that in vendor/2amigos/yii2-usuario/src/User/Controller/AdminController.php at line 135, but without specifying anything else |
The error seems to be this: usuario it's a module that extend from this and the view exist in that path !!! what's happening to him ?! I've "view" component configured (console + web) like:
[partially solved]
now I don't know why if I create user (without password) from application, it sends me an email where it tells me that the user has been created and that's it. If I create it from the console, the user (without password) sends me a more complete email communicating the auto-generated password as well. |
Is it possible the module config is different between web and console? |
the only difference was this:
thanks |
What steps will reproduce the problem?
if I create the user from the console the welcome email arrives without problems, if instead I create the user from the application with the user manager, it tells me that it was not possible to send the email and the creation of the user fails. I have the same usuario settings in both console and application configs.
What is the expected result?
What do you get instead?
The text was updated successfully, but these errors were encountered: