If I try to Test configuration by sending test e-mail it display like this
"jakarta.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted." I want proper answer
If I try to Test configuration by sending test e-mail it display like this
"jakarta.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted." I want proper answer
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Mar 14, 2023, 12:30 AM EDT
Verify that the username and password are correct: Double-check that you have entered the correct username and password for the email server you are using. Make sure that there are no typos or formatting errors.
Check if two-factor authentication is enabled: If you have enabled two-factor authentication (2FA) for your email account, you may need to generate an application-specific password to use with Jenkins. Go to your email account settings and look for the option to generate an app password. Use this password in your Jenkins email configuration instead of your regular password.
Check if the email server requires SSL or TLS: If the email server requires a secure connection, you may need to enable SSL or TLS in your Jenkins email configuration. Look for the options to enable SSL or TLS and make sure they are set correctly.
Verify if the email server is blocking Jenkins: Some email servers have security settings that may block access from untrusted applications like Jenkins. Check your email server's security settings to see if this is the case, and if so, whitelist Jenkins or allow access from untrusted applications.
Test the email configuration: Use the "Test Configuration" button in the Jenkins email configuration to verify that Jenkins can connect to the email server and send emails using the provided credentials. This can help identify any configuration issues or authentication problems.
vineesha didla141 reputationPosted Mar 14, 2023, 2:39 AM EDT
Already I mentioned correct email and password also