Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

[PROPOSAL] Support for multiple addresses. #12

Open
getrightnl opened this issue Aug 16, 2018 · 1 comment
Open

[PROPOSAL] Support for multiple addresses. #12

getrightnl opened this issue Aug 16, 2018 · 1 comment

Comments

@getrightnl
Copy link
Contributor

I have a request which I'm planning to implement for myself. But would like to discuss it first so it is likelier that this will be merged :).

I'm planning to support multiple recipients input in the backend in receiving mail address form.

[email protected];[email protected]

Do you like the idea?

@Luuc15
Copy link
Contributor

Luuc15 commented Aug 22, 2018

Hi, the idea sounds good.

You only have to change the MainController.php file on line 91. (Do an implode on the ; and ',' characters for example, and trim the spaces with the array_map function).

Later on it will of course be better to have something like a button to add a new recipient field.
This will be more client friendly.
Little bit of javascript but if you keep the same field name and add brackets (making the form field an array) then i think it should immediately work as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant