$params['X-CiviMail-Bounce']]); } elseif (isset($params['Return-Path'])) { // Copy this header to one that will be returned by Mailgun's webhook. $params['X-Mailgun-Variables'] = json_encode(['civimail-bounce' => $params['Return-Path']]); } /* ⬦ $context = (string [10]) `flexmailer` ⬦ $params['X-CiviMail-Mosaico'] = (string [3]) `Yes` ⬦ $params['List-Unsubscribe'] = (string [52]) `` ⬦ $params['Precedence'] = (string [4]) `bulk` ⬦ $params['job_id'] = (string [2]) `72` ⬦ $params['From'] = (string [37]) `"Artful Robot" ` ⬦ $params['toEmail'] = (string [20]) `hello@artfulrobot.uk` ⬦ $params['toName'] = (string [12]) `Artful Robot` ⬦ $params['Return-Path'] = (string [43]) `b.72.32.fa5f74c72c53c77f@crm.artfulrobot.uk` ⬦ $params['X-CiviMail-Bounce'] = (string [43]) `b.72.32.fa5f74c72c53c77f@crm.artfulrobot.uk` ⬦ $params['attachments'] = (array) */ }