getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Issues with multiple recipients in recent versions (since 4.0 I believe) #176

Closed rotanadan closed 1 year ago

rotanadan commented 1 year ago

If recipients in the headmatter use this format.

to:

It will only send to the first email as "testb@meail.com" testa@email.com

If you use this format

to:

multiple emails will work.

rhukster commented 1 year ago

Should be good for the next release.. Tested with this:

            to:
              -
                email: mail+3@example.com
                name: Joe Bloggs3
              - mail+4@example.com
              - Joe Bloggs5 <mail+5@example.com>
              - [mail+6@exmaple.com, Joe Bloggs6]