Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1294

Setting null mail attribute produces ERROR

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 3.0.0
    • Component/s: Queue
    • Labels:
      None

      Description

      In the log:

      ERROR 07:27:34,519 | james.mailqueuefactory | Not supported mail attribute LOCALADDRESS of type null

      when:

      public void service(Mail mail) {

      (...)

      String localAddress = null;

      (...)

      mail.setAttribute(LOCALADDRESS, localAddress);

      Probably NULL-valued attributes should be allowed.

        Attachments

          Activity

            People

            • Assignee:
              norman Norman Maurer
              Reporter:
              arusin Andrzej Rusin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: