IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Configuring a mailer
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Configuring a mailer
editConfigure a mailer to send user invitations and password resets. Refer to the following examples.
Local mail service example
editemail.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: [email protected]
password: secure-pass-phrase
email_defaults:
from: [email protected] # The 'from' address is the address from which emails are sent.
Gmail example
editemail.account:
enabled: true
smtp:
auth: plain
starttls.enable: true
host: smtp.gmail.com
port: 587
user: [email protected]
password: secure-pass-phrase
email_defaults:
from: [email protected]
Outlook example
editemail.account:
enabled: true
smtp:
auth: login
starttls.enable: true
host: smtp-mail.outlook.com
port: 587
user: [email protected]
password: secure-pass-phrase
email_defaults:
from: [email protected]