Configure a mail service

edit

Configure a mail service

edit

Configure a mailer to send user invitations and password resets. Refer to the following examples.

Local mail service example

edit
email.account:
  enabled: true
  smtp:
    auth: plain # Can be plain, login, or CRAM-MD5.
    starttls.enable: false # Whether emails are sent encapsulated in TLS, or not.
    host: 127.0.0.1
    port: 25
    user: mail@example.com
    password: secure-pass-phrase
  email_defaults:
    from: noreply@example.com # The 'from' address is the address from which emails are sent.

Gmail example

edit
email.account:
  enabled: true
  smtp:
    auth: plain
    starttls.enable: true
    host: smtp.gmail.com
    port: 587
    user: example@gmail.com
    password: secure-pass-phrase
  email_defaults:
    from: noreply@gmail.com

Outlook example

edit
email.account:
  enabled: true
  smtp:
    auth: login
    starttls.enable: true
    host: smtp-mail.outlook.com
    port: 587
    user: example@outlook.com
    password: secure-pass-phrase
  email_defaults:
    from: noreply@outlook.com