• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • email-ext-plugin
    • None
    • 2.80

      Hi 

      Mail sending stopped when updated email-ext-plugin from the v2.78 to 2.79 

       

      Error as below

      [Pipeline] emailextCould not find valid mail account[Pipeline] }

          [JENKINS-64141] Restore localhost as default SMTP server

          Chetan b created issue -

          Chetan b added a comment -

          ERROR

           

          Could not find valid mail account

          Chetan b added a comment - ERROR   Could not find valid mail account
          Chetan b made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Chetan b made changes -
          Description Original: Hi 

          Mail sending stopped when updated [email-ext-plugin|https://issues.jenkins-ci.org/issues/?jql=project+%3D+JENKINS+AND+component+%3D+email-ext-plugin] from the v2.78 to [2.79 |https://github.com/jenkinsci/email-ext-plugin/releases/tag/email-ext-2.79]

           

          Error as below

           
          Running in Durability level: MAX_SURVIVABILITY[Pipeline] Start of Pipeline[Pipeline] nodeRunning on [Jenkins|http://awsmblx516bs001:8080/computer/(master)/] in /data/jenkins/jobs/Test_pipeline/workspace[Pipeline] {[Pipeline] stage[Pipeline] { (Hello)[Pipeline] echoHello World[Pipeline] emailextCould not find valid mail account[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of PipelineFinished: SUCCESS
          New: Hi 

          Mail sending stopped when updated [email-ext-plugin|https://issues.jenkins-ci.org/issues/?jql=project+%3D+JENKINS+AND+component+%3D+email-ext-plugin] from the v2.78 to [2.79 |https://github.com/jenkinsci/email-ext-plugin/releases/tag/email-ext-2.79]

           

          Error as below

          [Pipeline] echoHello World[Pipeline] emailextCould not find valid mail account[Pipeline] }
          Chetan b made changes -
          Description Original: Hi 

          Mail sending stopped when updated [email-ext-plugin|https://issues.jenkins-ci.org/issues/?jql=project+%3D+JENKINS+AND+component+%3D+email-ext-plugin] from the v2.78 to [2.79 |https://github.com/jenkinsci/email-ext-plugin/releases/tag/email-ext-2.79]

           

          Error as below

          [Pipeline] echoHello World[Pipeline] emailextCould not find valid mail account[Pipeline] }
          New: Hi 

          Mail sending stopped when updated [email-ext-plugin|https://issues.jenkins-ci.org/issues/?jql=project+%3D+JENKINS+AND+component+%3D+email-ext-plugin] from the v2.78 to [2.79 |https://github.com/jenkinsci/email-ext-plugin/releases/tag/email-ext-2.79]

           

          Error as below

          [Pipeline] emailextCould not find valid mail account[Pipeline] }
          Chetan b made changes -
          Attachment New: screenshot-1.png [ 53230 ]
          Chetan b made changes -
          Attachment New: pipeline.png [ 53231 ]

          Basil Crow added a comment -

          Please provide the following information:

          1. A redacted version of the <mailAccount/> and <addAccounts/> sections of ${JENKINS_HOME}/hudson.plugins.emailext.ExtendedEmailPublisher.xml. Please remember to redact sensitive information from the configuration before posting it (e.g., remove actual server names, usernames, and passwords).
          2. A redacted build log with debug mode enabled. Go to Manage Jenkins, click on Configure System, and in the Extended E-mail Notification section check Enable Debug Mode to enable debug mode for the Email Extension plugin. This will add additional log output to the build log for debugging purposes. Please remember to redact the build log before posting it (e.g., remove actual email addresses, etc).

          Basil Crow added a comment - Please provide the following information: A redacted version of the <mailAccount/> and <addAccounts/> sections of ${JENKINS_HOME}/hudson.plugins.emailext.ExtendedEmailPublisher.xml . Please remember to redact sensitive information from the configuration before posting it (e.g., remove actual server names, usernames, and passwords). A redacted build log with debug mode enabled. Go to Manage Jenkins, click on Configure System, and in the Extended E-mail Notification section check Enable Debug Mode to enable debug mode for the Email Extension plugin. This will add additional log output to the build log for debugging purposes. Please remember to redact the build log before posting it (e.g., remove actual email addresses, etc).

          David Hows added a comment -

          I ran into this issue aswell.

          It looks like the mail plugin no longer has a default override for no "SMTP Server" configuration value. I set "SMTP Server" to localhost and this fixed the issues.

          David Hows added a comment - I ran into this issue aswell. It looks like the mail plugin no longer has a default override for no "SMTP Server" configuration value. I set "SMTP Server" to localhost and this fixed the issues.

          Hi,

          It looks like the mail plugin no longer has a default override for no "SMTP Server" configuration value. I set "SMTP Server" to localhost and this fixed the issues.

          da5id_: Thank you for this comment, this fixes the issues I had on my side too after the switch to 2.79.

          basil: do you still need extra debug info?

          Matthieu Baerts added a comment - Hi, It looks like the mail plugin no longer has a default override for no "SMTP Server" configuration value. I set "SMTP Server" to localhost and this fixed the issues. da5id_ : Thank you for this comment, this fixes the issues I had on my side too after the switch to 2.79. basil : do you still need extra debug info?

            Unassigned Unassigned
            chetub Chetan b
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: