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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Mar 14, 2023, 4:30 AM
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 didlaPosted Mar 14, 2023, 6:39 AM
Already I mentioned correct email and password also