SMTP+Docker+GMail
#1362
Replies: 2 comments
-
For Gmail specifically, you need to enable less secure apps for the user to
allow login via password on plain SMTP
…On Mon, Jan 30, 2023, 6:02 PM friki67 ***@***.***> wrote:
Hello.
I'm beginning with leantime and I'm trying to get this working using
Portainer stacks.
These are my env variables for email
LEAN_EMAIL_RETURN: ***@***.***'
LEAN_EMAIL_USE_SMTP: 'true'
LEAN_EMAIL_SMTP_HOSTS: 'smtp.gmail.com'
LEAN_EMAIL_SMTP_USERNAME: ***@***.***'
LEAN_EMAIL_SMTP_PASSWORD: 'mypass'
LEAN_EMAIL_SMTP_AUTO_TLS: 'true'
LEAN_EMAIL_SMTP_SECURE: 'STARTTLS' # tried 'TLS' too
LEAN_EMAIL_SMTP_PORT: 587
Then I created a user, and invited him.
I've read the topics in there for this, but nothing seems to work.
But I've received no email. What am I missing/ doing wrong?
And, there is a way to set the user password without using the e-mail?
—
Reply to this email directly, view it on GitHub
<#1362>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEO6OQSOHWSXIOHQWBRNQBLWU7Q2ZANCNFSM6AAAAAAULKRPJU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mmol67
-
Thank you! Fixed. I needed to activate 2 pass authentication and create an application pass for leantime and it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm beginning with leantime and I'm trying to get this working using Portainer stacks.
These are my env variables for email
Then I created a user, and invited him.
I've read the topics in there for this, but nothing seems to work.
I've received no email. What am I missing/ doing wrong?
And, there is a way to set the user password without using the e-mail?
Beta Was this translation helpful? Give feedback.
All reactions