Unable to send emails - gmail

26 views
Skip to first unread message

Rodrigo Catarino

unread,
Dec 15, 2025, 10:51:03 AM12/15/25
to radiosonde_auto_rx
Hi everyone,

From a couple of months ago, i am unable to send emails, the reason seen on the log is 
"ERROR:E-Mail - Error sending E-mail notification - (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8  https://support.google.com/mail/?p=BadCredentials"

I've checked the credentials, they are correct, i even created a new email to dedicate to this, with no 2FA or other security settings. 
Still cannot send any emails.

This is my config file from the email notigications: (I've removed the email and password)

#######################
# EMAIL NOTIFICATIONS #
#######################
# Sends an email notification to the specified address when a new Sonde is detected
[email]
email_enabled = True

# Send an e-mail for each new radiosonde observed.
launch_notifications = True

# Send e-mails when a radiosonde is detected descending near your station location
landing_notifications = True

# Range threshold for Landing notifications (km from your station location)
landing_range_threshold = 30

# Altitude threshold for Landing Notifications (metres)
# Notifications will only occur for sondes which have been observed descending (>2m/s descent rate) below this altitude
# for at least 10 observations
landing_altitude_threshold = 1000

# Enable sending critical error notifications (one that cause auto_rx to completely crash out) via email.
# WARNING: If an error is persistent and you are running as a systemd service, this could result
# in many e-mails being sent!
error_notifications = True

# Server details. Note that usually Port 465 is used for SSL auth, and 587 is used for TLS.
smtp_server = smtp.gmail.com
smtp_port = 465

# Authentication type, Valid options are: None, TLS, and SSL
smtp_authentication = SSL

# If using authentication, the following fields need to be populated:
smtp_login = xxxx...@gmail.com
smtp_password = xxxxxxxxxxx

# 'Source' e-mail
from = xxxx...@gmail.com

# Destination emails. You can send to multiple addresses by separating each address with a semicolon,
# i.e.   te...@test.com;te...@test2.com
to = xxx...@gmail.com

# Custom subject field. The following fields can be included:
# <freq> - Sonde Frequency, i.e. 401.520 MHz
# <type> - Sonde Type (RS94/RS41)
# <id> - Sonde Serial Number (i.e. M1234567)
subject = <type> Sonde launch detected on <freq>: <id>
Reply all
Reply to author
Forward
0 new messages