Uploaded image for project: 'Kopano WebApp'
  1. Kopano WebApp
  2. KW-664

Resolve multiple email addresses correctly when pasting from other applications

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.4.3
    • Security Level: Public
    • Labels:
    • Story Points:
      3
    • Roadmap estimate:
      3.x

      Description

      When pasting multiple email addresses from for example Excel, Notepad or LibreOffice, into the WebApp TO: field, everything that is pasted is considered the email address. The expected behaviour would be that WebApp splits the pasted addresses in seperate email addresses. Such behaviour occurs in other mail clients such as Outlook/Gmail etc. Example: User 1 <user1@user.com> User 2 <user2@user.com> User 3 <user3@user.com>

      There are other delimiters being used as well, which we should be able to deal with.

      Steps

      1. Copy multiple recipients, which are separated by either spacing, commas or line feed : e.g. user1@test.nl user2@test.nl user3@test.nl. or User 1 <user1@user.com> User 2 <user2@user.com> User 3 <user3@user.com>
      2. Create a new mail item (or any other item requiring recipients to be filled in, e.g. MR).
      3. Paste these recipients in one of the recipient fields.

      result: mail addresses are resolved into a single recipient.
      expected:

      • mail addresses are resolved separately
      • if the input contains an email address, treat all input as the email address and assume there are no user names that need resolving
      • Valid delimiters are: , and ; and spaces
      • If the email address is enclosed in < >, treat the text before as the 'display name' and the last bracket as the delimiter

       

      Note: currently recipients are only resolved correctly separately if semi colons are used (e.g. user1@test.nl; user2@test.nl).

      Examples to test with:

      user1@test.nl user2@test.nl user3@test.nl
      user1@test.nl, user2@test.nl, user3@test.nl
      user1@test.nl; user2@test.nl; user3@test.nl

      User 1 <user1@test.nl>; User 2 <user2@test.nl>; User 3 <user3@test.nl>;
      User 1 <user1@test.nl>, User 2 <user2@test.nl>, User 3 <user3@test.nl>
      User 1 <user1@test.nl> User 2 <user2@test.nl> User 3 <user3@test.nl>

      All of these should result in the same recipients (email addresses at least).

       

        Attachments

        1. after_pressing_enter.png
          after_pressing_enter.png
          4 kB
        2. email addresses.txt
          4 kB
        3. pasting_emails_string.png
          pasting_emails_string.png
          4 kB
        4. Selection_032.png
          Selection_032.png
          41 kB
        5. show_invalidstringof user.png
          show_invalidstringof user.png
          6 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mdebruijn Mark de Bruijn
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: