-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Send SMTP with Gmail (was: SMTP Port lost after update?) #3529
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
Comments
We have this problem too and receive no E-Mail notifications anymore, because the IT cannot fix it everyday. So is there a solution? |
Looks like the problem is here in
If you have a So when you update the SMTP information it overrides the |
Cool, nice find ! |
To me it seems reasonable that environment variables override the program settings. |
Yes. |
There should probably be a notice in the admin panel that the email settings are being overridden by an environment variable. |
STMP settings are not anymore visible at Admin Panel on non-Sandstorm platforms. There is only "Send test email" button. |
Please test does now |
I can confirm fix in 5.02. Thank you! |
Wow cool, great it works!!!! |
Yeah, it works again, we, who use WEKAN are very very happy now - thank you ;-) |
I have problem set email from console now :( When I try send test email there is ECONNREFURED 127.0.1.1.587 error. It should be OK or there is mistake from my side? :) Thank you very much for help :) |
Yes I read it but it not work :) So I posted here my problem. Can you help me? |
Might need a slash ( |
Please check logs. Are there any errors?
If there are any errors, check for solutions from: If you really would like to use Gmail to send, please check Gmail settings at https://myaccount.google.com/security
I would recommed using AWS SES or some other email sending instead: |
I really don't know does Gmail allow sending with it via SMTP. At least Thunderbird requires extra OIDC authentication. |
FIXED! :) and yes GMAIL allow sending with it via SMTP. SMTP server is smtp.gmail.com |
Hey, does this still work? I get the error message:
I tested:
And nothing is working. :( |
Well, I don't know is it really a good idea to send email with gmail, because you can too easily get blocked because of so many sent emails, Gmail thinking it's spam. Please do not use any critical email address that you have not backed up first with https://takeout.google.com . You could try with new MAIL_SERVICE settings:
With these, you may also need MAIL_URL (or not), and MAIL_FROM. It could maybe also work with Google Workplace with custom domain. Not tested. YMMV. |
There will be later feature to group emails to one email, or have summary emails, but it's not ready yet. |
Thanks for the fast answer. |
Hi @buttermilchmensch, did you ever get Gmail SMTP to work on WeKan?? I've tried both Everytime it's a connection timeout. Confirmed the port is open, this VM's UFW is disabled, Gmail 'Less Secure Apps' access is on. Nothing regarding SMTP ever outputs to the WeKan log. We are nowhere near the limit on this Gmail account. And IMAP/SMTP is enabled on this email account as like I mentioned other web apps use it successfully. Any ideas? |
I don't recommend configuring SMTP for Meteor WeKan, it can easily send hundreds of notifications messages, like spam, there is not yet feature for combining notifications. AWS SES works for SMTP, if someone anyway likes to use it. |
Hmmm we're a very small IT team, I guess I should ask what prompts a WeKan email notification? We really would just like it to email someone if their username is mentioned on a board. |
There are many different kind of notifications in many places currently, some info is at wiki, docker-compose.yml, snap settings, notification tray, user settings, etc. I will add better Notifications Settings #2026 that will combine all to same page more clearly, and make sure it actually works like those settings. After that, it will be easier to answer how it actually works. |
Current notifications related bugs etc are listed at https://github.com/wekan/wekan/issues?q=is%3Aopen+is%3Aissue+label%3AFeature%3ANotifications |
Hi @ManZosh, |
Using AWS SES works currently, I think: |
My organization has a budget for working with the Open-Source community, since we self-host so many FOSS apps in an enterprise capacity. How many support/sponsorship hours would you guesstimate for implementing atleast a basic level of email and/or browser notifications to Meteor/Snap WeKan users? |
1000 euro. https://wekan.team/commercial-support/ |
With a GSuite domain, I was able to get it working by following the top instructions here: https://support.cloudways.com/en/articles/5131076-how-to-configure-gmail-smtp In short, enable 2FA on the account, then setup an app password on https://security.google.com/settings/security/apppasswords. Use the password generated as the app password to set mail-service-password. You have to have 2FA on or the app password won't work. It would be nice if wekan could support the Gmail API directly. In my experience with other apps, Gmail doesn't like people going through the SMTP server at all, and has made it more and more difficult over the years. Wouldn't be surprised if they just turn it off one day. |
Server Setup Information:
Problem description:
We have configured SMTP port 25 which is correctly shown in the admin GUI but if we click "Test email" we get an error showing port :587.
To fix it, we have to enter Port 587 -> save -> enter 25 -> save and it will temporarily work again. But it seem that wekan automatically falls back to 587 after an update so we have to fix it almost every day....
The text was updated successfully, but these errors were encountered: