Skip to content
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

Mailer hardcoded #504

Open
Eseperio opened this issue Feb 6, 2023 · 0 comments
Open

Mailer hardcoded #504

Eseperio opened this issue Feb 6, 2023 · 0 comments

Comments

@Eseperio
Copy link
Contributor

Eseperio commented Feb 6, 2023

Mailer component should not be hardcoded, since a complex application could have more than one mailer, each one using different transports or maybe different layouts.

Should be a mailer component name property in main module and then get the expected mailer component.

[$type, $from, $to, $subject, $view, $params, Yii::$app->getMailer()]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant