danhper / danhper/opencov

SMTP fails silently

Open
#32 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Elixir
Stars
325
Forks
43
PR merge metrics
No merged PRs in 30d

Description

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:

```elixir
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 ",
smtp: [
relay: "smtp.gmail.com",
username: "REDACTED",
password: "REDACTED",
port: 587,
ssl: false,
tls: :always,
auth: :always
]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.