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

Emails not send if use MailerInterface in private method proccessSendingResetEmail #262

Open
pminetti opened this issue Apr 12, 2023 · 1 comment

Comments

@pminetti
Copy link

Hi,

My MAILER_ DSN is smtp://user:pass@domain:port

When I use the original function processSendingPasswordResetEmail with MailerInterface, no email is sent, but if I change to TransportInterface, the email is sent.

I think the problem is that MailerInterface can handle async and sync modes. and by default is using async. As I can read in the documentation, if my dsn is smtp, the sync mode is enabled, so I don't need to configure nothing more.

I can't figure what I'm missing.

Thanks

@Gregb342
Copy link

Gregb342 commented Sep 7, 2023

Hi !

I had the same issue here, can't figure why.

And I solve it with the help of your message @pminetti ! Thanks !

So sometimes, processSendingPasswordResetEmail is working better with TransportInterface than with MailerInterface.

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

2 participants