Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-30

ezcMailImapTransport::append() should return APPENDUID if possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Mail
    • None

    Description

      append() does not return the new UID of the stored message, so normally you have to FETCH or SEARCH for the appended message to get the new UID. This is not needed because the APPEND command returns the APPENDUID if the UIDPLUS extension is installed.

      I provide a patch that trys to parse the APPENDUID and returns it. The patch is not perfect, I can only check dovecot 2.0, I don't know if other IMAP servers return the APPENDUID in a different way. I don't know if the APPENDUID should be returned if the developer works with message ids and not unique ids, perhaps there is missing a

      if ($this->options->uidReferencing)

      Attachments

        1. patch.diff
          1 kB
          Michael Kliewe

        Activity

          People

            Unassigned Unassigned
            phpgangsta Michael Kliewe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: