This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Configure a mail service
editConfigure a mail service
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]