Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5116

[devicemonitor/workflows] Failure in sending emails to multiple users

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0, 3.1.0-report
    • Labels:
    • Sprint:
      MEN Sprint 146
    • Story Points:
      3
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      devicemonitor fails to send messages to multiple users. From the inspection of the database, it seems the input parameter is correct:

       

      { "name" : "bcc", "value" : "fabio.tranchitella@northern.tech,fabio.tranchitella+readonly@northern.tech", "raw" : [ "fabio.tranchitella@northern.tech", "fabio.tranchitella+readonly@northern.tech" ] }
      

       

      The task fails, though, because the value of "recipients" is a single comma-separated string:

       

      "recipients" : [ "fabio.tranchitella@northern.tech,fabio.tranchitella+readonly@northern.tech" ],
      

      And it fails with:

       

       "error" : "553 5.1.3 The recipient address <fabio.tranchitella@northern.tech,fabio.tranchit\n5.1.3 ella+readonly@northern.tech> is not a valid RFC-5321 address. g143sm19586256wme.16 - gsmtp" "error" : "553 5.1.3 The recipient address <fabio.tranchitella@northern.tech,fabio.tranchit\n5.1.3 ella+readonly@northern.tech> is not a valid RFC-5321 address. g143sm19586256wme.16 - gsmtp"

        Attachments

          Activity

            People

            Assignee:
            tranchitella Fabio Tranchitella
            Reporter:
            tranchitella Fabio Tranchitella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support