mccmax95
06/26/2025, 8:28 PMCould not initiate password reset[500 ]: Internal server error: `Could not send email: Error sending email: permanent error (535): 5.7.8 Username and Password not accepted. For more information, go to5.7.8 https://support.google.com/mail/?p=BadCredentials 6a1803df08f44-6fd772fa9c9sm11203576d6.82 - gsmtp`
though I ran this through a smtp tester and it worked with the same setup. I do have my server using the SMTP email with a different application though I don't think that would matter. This is what I have atm :
LDAP_SMTP_OPTIONS__FROM: LLDAP Admin <${SMTP_USER}>
LLDAP_SMTP_OPTIONS__PASSWORD: ${SMTP_PASSWORD}
LLDAP_SMTP_OPTIONS__PORT: 587
LLDAP_SMTP_OPTIONS__REPLY_TO: Do not reply <${SMTP_USER}>
LLDAP_SMTP_OPTIONS__SERVER: smtp.gmail.com
LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION: STARTTLS
LLDAP_SMTP_OPTIONS__USER: ${SMTP_USER}
LLDAP_VERBOSE: trueAnswer Overflow
06/26/2025, 8:28 PMnitnelave
06/26/2025, 8:29 PMnitnelave
06/26/2025, 8:30 PMmccmax95
06/26/2025, 8:31 PMsmtp_options: MailOptions {
enable_password_reset: true,
from: Some(
"LLDAP Admin <redacted>",
),
reply_to: Some(
"Do not reply <redacted>",
),
server: "smtp.gmail.com",
port: 587,
user: "redacted",
password: ***SECRET***,
smtp_encryption: StartTls,
..
},mccmax95
06/26/2025, 8:32 PMmccmax95
06/26/2025, 8:32 PMmccmax95
06/26/2025, 8:33 PMnitnelave
06/26/2025, 8:33 PMmccmax95
06/26/2025, 8:33 PMnitnelave
06/26/2025, 8:33 PMnitnelave
06/26/2025, 8:34 PMmccmax95
06/26/2025, 8:35 PMLDAP_SMTP_OPTIONS__FROM: LLDAP Admin <${SMTP_USER}>
LLDAP_SMTP_OPTIONS__PASSWORD: ${SMTP_PASSWORD}
LLDAP_SMTP_OPTIONS__PORT: ${SMTP_PORT}
LLDAP_SMTP_OPTIONS__REPLY_TO: Do not reply <${SMTP_USER}>
LLDAP_SMTP_OPTIONS__SERVER: ${SMTP_HOST}
LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION: ${SMTP_ENCRYPTION}
LLDAP_SMTP_OPTIONS__USER: ${SMTP_USER}
LLDAP_VERBOSE: truenitnelave
06/26/2025, 8:36 PMnitnelave
06/26/2025, 8:36 PMmccmax95
06/26/2025, 8:36 PMmccmax95
06/26/2025, 8:40 PMSMTP_PASSWORDD not SMTP_PASSWORDnitnelave
06/26/2025, 8:40 PMmccmax95
06/26/2025, 8:41 PMmccmax95
06/26/2025, 8:46 PM