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 -

Comments

othermachines created an issue. See original summary.

othermachines’s picture

Title: BCC and CC recipients not being processed » BCC and CC recipient values not being passed to Mailgun

More descriptive title

othermachines’s picture

Patch against 8.x-1.x

  • Matroskeen committed 819241f on 8.x-1.x
    Issue #2905406 by othermachines: BCC and CC recipient values not being...
matroskeen’s picture

Assigned: Unassigned » matroskeen
Status: Needs review » Fixed

Thanks, @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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.