chsasank / outline-wiki-docker-compose

Installation and docker compose to self host outline wiki: https://www.getoutline.com/
295 stars 77 forks source link

Sending eMail invites #12

Closed awoehrl closed 3 years ago

awoehrl commented 3 years ago

Thanks, this works really well. The only thing that doesn't seem to work is the sending of invites and signing up with an eMail address. Is there anything I can do to make it work?

dmezh commented 3 years ago

^also experiencing this

Edit: Add an SMTP server in your env.outline. It should be one with SSL, as Outline is configured to use it when running in production mode. I have it working with SendGrid, but only for invites - the email signup doesn't seem to work and no error is thrown by Outline.

dmezh commented 3 years ago

I have it working with SendGrid, but only for invites - the email signup doesn't seem to work and no error is thrown by Outline.

Update: Use a decent SMTP server 😅

Outline is hardcoded to use secure SMTP when in production mode. If you want to change that, you can make that change here (change to secure: false) and rebuild the docker image.

I needed to add legacy TLS 1.0 support: tls: { secureProtocol: "TLSv1_method" }, in that same block.

chsasank commented 3 years ago

@kevalnagda wrote a nice tutorial on this: https://kevalnagda.github.io/sendgrid-with-outline