Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52949

Email-ext 's field "Project from" will cause a 550 sending email error

    • Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • email-ext-plugin
    • None
    • OS: Win7 64 bits 6.1
      Jenkins: 2.132 by windows installer
      Jdk: 1.8.0
      email-ext: 2.6.2
      browser: chrome 67 32bits

      update: if i delete the chars in Project from in Email ext domain, this problem will be solved;

      ------------------------------------------------------------------------------------------------------------------

      I passed mail settings by sending test email with same mail account、password、port and so on.

      In a specific job, i used Editable Mail Notification and used the account info that have passed the mail settings by sending test email.

      The error info is below:

      Checking for pre-build
      Executing pre-build step
      Checking if email needs to be generated
      No emails were triggered.
      [test] $ cmd /c call C:\Windows\TEMP\jenkins1452792326576924061.bat

      C:\Jenkins\workspace\test>echo "success!"
      "success!"

      C:\Jenkins\workspace\test>exit 0
      Checking for post-build
      Performing post-build step
      Checking if email needs to be generated
      Email was triggered for: Always
      Sending email for trigger: Always
      messageContentType = text/plain; charset=UTF-8
      Adding recipients from project recipient list
      Adding recipients from trigger recipient list
      Successfully created MimeMessage
      Sending email to: ****@163.com
      Error sending to the following VALID addresses: *****@163.com
      SendFailedException message: 550 Invalid User

      Finished: SUCCESS

          [JENKINS-52949] Email-ext 's field "Project from" will cause a 550 sending email error

          The fact that you said sent test email suggests your changing the settings for the default jenkins email plugin which are different than email-ext

          David van Laatum added a comment - The fact that you said sent test email suggests your changing the settings for the default jenkins email plugin which are different than email-ext

          yunhua li added a comment - - edited

          i agree what you said, but i'm pretty sure that the info i filled in the default email settings is same as i filled in email-ext settings, in order words, if i can pass the test email, it proves that the account info of email is correct,isn't it? if this is correct and if i don't remove the chars i filled in "project from", i will never send email by email-ext until i remove the char filled in "project from".FYI,i found that other versions of jenkins doesn't have this field--"project from" in email-ext.

          yunhua li added a comment - - edited i agree what you said, but i'm pretty sure that the info i filled in the default email settings is same as i filled in email-ext settings, in order words, if i can pass the test email, it proves that the account info of email is correct,isn't it? if this is correct and if i don't remove the chars i filled in "project from", i will never send email by email-ext until i remove the char filled in "project from".FYI,i found that other versions of jenkins doesn't have this field--"project from" in email-ext.

          Project from was added recently in v2.62 by pull 166 which added the ability to configure multiple email servers and from controls what account it uses and by the looks if from doesn't match any of the configured accounts it will end up with no authentication details.

          David van Laatum added a comment - Project from was added recently in v2.62 by pull 166  which added the ability to configure multiple email servers and from controls what account it uses and by the looks if from doesn't match any of the configured accounts it will end up with no authentication details.

          Hmm ok maybe not there is a test case that is covering that case and its passing

          David van Laatum added a comment - Hmm ok maybe not there is a test case that is covering that case and its passing

          yunhua li added a comment -

          Maybe it is a friendly way to adding a help info beside the filed like others filed;

          yunhua li added a comment - Maybe it is a friendly way to adding a help info beside the filed like others filed;

            davidvanlaatum David van Laatum
            armoour yunhua li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: