Email Alerts Failing Test - Gmail

1. Describe your incident:
I have setup the server.conf file to send emails using gmail service. However, when I test an alert I get the error below:

# Email transport
transport_email_enabled = true
transport_email_hostname =
transport_email_port = 587
transport_email_use_auth = true
transport_email_use_tls = true
transport_email_use_ssl = false
transport_email_auth_username =
transport_email_auth_password = xxxxxxxxxxxxx
transport_email_subject_prefix = [graylog]
transport_email_from_email =
transport_email_web_interface_url = http://x.x.x.x:9000


2. Describe your environment:

  • OS Information: Ubuntu 22.04

  • GL Version: 5.2

3. What steps have you already taken to try and solve the problem?
Verified SMTP Server information, verified port open, restarted server

4. How can the community help?

Help me figure out why this isn’t working…

Ok, this is odd. I didn’t realize the System tab would give me more info. It’s stating “Username and Password not accepted”, but I can use the creds I have entered manually to log into gmail…

And the answer is use an App Password.

I don’t know if someone should delete this or leave it up for someone like me fumbling through all of this in the future.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.