Skip to content
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

SMTP fails silently #32

Open
etienne-napoleone opened this issue Jan 15, 2020 · 4 comments
Open

SMTP fails silently #32

etienne-napoleone opened this issue Jan 15, 2020 · 4 comments

Comments

@etienne-napoleone
Copy link

Activated sign-ups from the admin panel with authorized domains
Signed up with an email from an authorized domain.
Needs to confirm account via email but never received any. No error or messages in the logs regarding that.
Didn't tried without specifying authorized domains.
Email is a gmail account using google smtp server with tls enabled auth

Config:

use Mix.Config

config :opencov, Opencov.Endpoint,
  http: [port: 4000],
  url: [scheme: "https", host: "REDACTED", port: 443],
  secret_key_base: "REDACTED"

config :opencov, Opencov.Repo,
  adapter: Ecto.Adapters.Postgres,
  url: "postgres://postgres@REDACTED/postgres",
  pool_size: 20

config :opencov, :email,
  sender: "OpenCov <REDACTED>",
  smtp: [
    relay: "smtp.gmail.com",
    username: "REDACTED",
    password: "REDACTED",
    port: 587,
    ssl: false,
    tls: :always,
    auth: :always
  ]
@danhper
Copy link
Owner

danhper commented Jan 16, 2020

Thanks for the report, I'll have a look.

@danhper
Copy link
Owner

danhper commented Jan 18, 2020

I just gave it a shot and did receive the email but it was in my spam folder.
Could you please just double check it is not the case for you too before I investigate further.
Thanks.

@etienne-napoleone
Copy link
Author

Thanks for testing @danhper . There's nothing in my spam folder unfortunately. Did you use a gmail account?

@danhper
Copy link
Owner

danhper commented Jan 18, 2020

Thanks for checking. No, I used mailgun. I'll try it with Gmail!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants