Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16092

"replyto" in "Notification.SendMail" works improperly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0-HF24
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Automation

      Description

      It is because the getReplyTo() function in the MimeMessage class never returns null. It returns the current value of the "Reply-To" or a value "From":

        public Address[] getReplyTo() throws MessagingException {
      	Address[] a = getAddressHeader("Reply-To");
      	if (a == null || a.length == 0)
      	    a = getFrom();
      	return a;
          }
      

      In consequence the "replyto" is added to "from" and saved in "Reply-To" in the addInfoInMessageHeader function.
      That is a problem for some emails portals (i.e. lotus iNotes), because they use the first value i.e. "from" in this case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adam_bo adam_bo [X] (Inactive)
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: