Working settings for Gmail (port 587)
config :sample, Sample.Mailer,
adapter: Swoosh.Adapters.SMTP,
relay: "smtp.gmail.com",
username: "name@gmail.com",
password: "apppassword",
ssl: false,
tls: :always,
auth: :always,
port: 587,
retries: 2
Requirements for Gmail:
- Set up 2-Step Verification
- Generate app password
- Switch off your VPN (if you’re testing on localhost)






















