Trying to send email using Jenkins- using the email notification plugin, using ssl option.
Initially was getting bad id/pwd error- also got login blocked alert emails from google. So enabled the less secure apps. The error changed to javax.mail.AuthenticationFailedException: 534-5.7.14
I do not have 2-step auth enabled in gmail. Read a couple of posts here suggesting - need to use 2-step auth method with gmail - is that the way to go?
How do I install older plugin? I downloaded the older Mailer plugin 1.23 (wget) it is a .hpi file. But in my plug folder only has jpi files. What it is supposed to be? Do I just go to the console and uninstall the current plugin and just copy this hpi file to /plugins folder?
Able to install the .hpi finally Advanced installation The Update Center only allows the installation of the most recently released version of a plugin. In cases where an older release of the plugin is desired, a Jenkins administrator can download an older .hpi archive and manually install that on the Jenkins master.
From the web UI Assuming a .hpi file has been downloaded, a logged-in Jenkins administrator may upload the file from within the web UI:
Navigate to the Manage Jenkins > Manage Plugins page in the web UI.
Click on the Advanced tab.
Choose the .hpi file under the Upload Plugin section.
After uploading .hpi from local system using the GUI) - the Mailer plugin version shows the new older Mailer version 1.23
. But you have to reconfigure it.
But still same error: javax.mail.AuthenticationFailedException: 534-5.7.14
support.google.com/mail/answer/78754 q128sm12098788pga.24 - gsmtp. checking the google support link - I think am doing everything as suggested