In testing, I was having an issue where Mailgun wasn't sending out emails to cc or bcc recipients set up via webform email handler. Turns out there are no "cc" or "bcc" keys set in the $message array passed into MailgunMail, only "cc_mail" and "bcc_mail". I'll submit a patch shortly.
I'm actually using @codewhisper's version at https://github.com/codewhisper/drupal-mailgun/tree/8.x-2.x and so will file an issue there, but I will also submit a patch against 8.x-1.x branch shortly in case the maintainers come back to visit. :)
Thanks -
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | mailgun-bcc_and_cc_not_being_passed-2905406-3.patch | 961 bytes | othermachines |
Comments
Comment #2
othermachines commentedMore descriptive title
Comment #3
othermachines commentedPatch against 8.x-1.x
Comment #5
matroskeenThanks, @othermachines.
Your patch was applied with some changes. The idea is to support all these cases - cc / cc_mail and bcc / bcc_mail.
Because as I see only webform module provides these values in such format.