-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix local SMTP email sending #2751
Conversation
Does this replace 29196ae or should that get manually added to this? |
Well, there's at least a small issue with that update. It doesn't account for That's also data getting passed into a UI component, so that should be happening in the container (where the providers object already exists anyway) Give me a couple mins and I'll update my PR. |
Actually, nevermind. I had already done it (with the required logic for the custom setting that I mentioned).
|
#1442 was definitely out of scope of this issue, so I'm positive that hasn't changed. I could fix it, but it's definitely a bit more work and I was just putting out the immediate fire of "can't use a mail server on localhost". Fixing that issue would require creating pub/sub to push down the parsed values of #2630 can't possibly still be broken or this PR wouldn't work at all (since it's a branch off of marketplace). The console errors shown in that issue appear to be something with the components API that must've been fixed by someone. Wasn't that closed at some point anyway? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. Verified working now. 👍
Fixes the ability to use an SMTP provider on localhost (both UI and methods would throw errors without a username/password provided). PR can be tested with Maildev.
Maildev
from the dropdownThis also adds the ability to choose "custom" from the dropdown and enter a mail server host without user/password. You obviously shouldn't ever do that in production, but at least now you can do things like run a custom SMTP server on localhost for development (although I highly recommend just using Maildev as the server and use the Maildev preset to connect to it).