Closed nitanmarcel closed 3 years ago
Duplicate of #34
Duplicate of #34
`It doesn't work. I saw the issue and I've set secure to false but I got the same error~
Or nvm, I see it,s still set to secure in docker
@claabs I'm running it with this command again but it's still says it's secure in the json:
docker run -d -e TZ=America/Chicago -e EMAIL=nitan.marcel@gmail.com -e PASSWORD=***-e TOP=******-e RUN_ON_STARTUP=true -e SMTP_HOST=smtp.gmail.com -e SMTP_PORT=587 -e SMTP_HOST=smtp.gmail.com -e EMAIL_SENDER_ADDRESS=nitan.marcel@gmail.com -e EMAIL_SENDER_NAME="Marcel Alexandru" -e EMAIL_RECIPIENT_ADDRESS=nitan.marcel@gmail.com -e SMTP_SECURE=false -e SMTP_USERNAME=nitan.marcel@gmail.com -e SMTP_PASSWORD=***-v /my/host/dir/:/usr/app/config:rw -p 3001:3000 charlocharlie/epicgames-freegames:latest
I'm not used to docker so maybe I forgot something.
emailConfig: {
"smtpHost": "smtp.gmail.com",
"smtpPort": 587,
"emailSenderAddress": "nitan.marcel@gmail.com",
"emailSenderName": "Marcel Alexandru",
"emailRecipientAddress": "nitan.marcel@gmail.com",
"secure": true,
"auth": {
"user": "nitan.marcel@gmail.com",
"pass": "***"
}
}
Looks like I got tricked by the JS Boolean()
function. Try pulling the image once the build is finished on Docker Hub.
@claabs
Thanks is working. ~but I got another problem: I can't access localhost from my computer. Every time I try to enter the link I get Unable to connect
message~ But the address sent by the email is wrong. The port it's 3001 not 3000 as the email says
Also you might add a small detail in the readme to tell users to make sure they allow less secure apps to log to google:
I fixed the problem above but there's no capcha visible:
Please file a new issue following the bug report (captcha UI) template. That will help me diagnose your use case and the problem you're having.
Hi! I can't get SMTP to work on my machine (Windows 10 + Docker)
Here's a full log of what`s going on