-
Bug
-
Resolution: Fixed
-
Minor
-
None
Dear email-ext-plugin team,
I think there's a bug in plugin's code here:
To send message only to one recipient using friendly names it's necessary to add comma at the end of the address.
Without this 'workaround' address is splitted into chunks as 'space' is treated as separator.
Adding recipients from project recipient list Analyzing: Name,Surname<n.Surname@mymail.com> Looking for: Name starting at: 0 firstFoundIdx: 0 firstFoundIdx-substring: Name,Surname<n.Surname@mymail.com> => found type: 0 Looking for: Surname <n.Surname@mymail.com> starting at: 8 firstFoundIdx: 8 firstFoundIdx-substring: Surname<n.Surname@mymail.com> => found type: 0 Analyzing: Name,Surname<n.Surname@mymail.com> Looking for: Name starting at: 0 firstFoundIdx: 0 firstFoundIdx-substring: Name,Surname<n.Surname@mymail.com> => found type: 0 Looking for: Surname <n.Surname@mymail.com> starting at: 8 firstFoundIdx: 8 firstFoundIdx-substring: Surname<n.Surname@mymail.com> => found type: 0 Analyzing: Name,Surname<n.Surname@mymail.com> Looking for: Name starting at: 0 firstFoundIdx: 0 firstFoundIdx-substring: Name,Surname<n.Surname@mymail.com> => found type: 0 Looking for: Surname <n.Surname@mymail.com> starting at: 8 firstFoundIdx: 8 firstFoundIdx-substring: Surname<n.Surname@mymail.com> => found type: 0 Adding recipients from trigger recipient list
and following log shows the situation with the comma after the e-mail address:
Analyzing: Name Surname <n.Surname@mymail.com>, Looking for: Name Surname <n.Surname@mymail.com> starting at: 0 firstFoundIdx: 0 firstFoundIdx-substring: Name Surname <n.Surname@mymail.com>, => found type: 0 Analyzing: Name Surname <n.Surname@mymail.com>, Looking for: Name Surname <n.Surname@mymail.com> starting at: 0 firstFoundIdx: 0 firstFoundIdx-substring: Name Surname <n.Surname@mymail.com>, => found type: 0 Analyzing: Name Surname <n.Surname@mymail.com>, Looking for: Name Surname <n.Surname@mymail.com> starting at: 0 firstFoundIdx: 0 firstFoundIdx-substring: Name Surname <n.Surname@mymail.com>, => found type: 0 Adding recipients from trigger recipient list
I've created a pull requested.