{"action":"opened","issue":{"url":"https://api.github.com/repos/mailgun/mailgun-php/issues/81","labels_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/81/comments","events_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/81/events","html_url":"https://github.com/mailgun/mailgun-php/issues/81","id":71579160,"number":81,"title":"CC/BCC is ignored when using MIME message","user":{"login":"gondo","id":331103,"avatar_url":"https://avatars.githubusercontent.com/u/331103?v=3","gravatar_id":"","url":"https://api.github.com/users/gondo","html_url":"https://github.com/gondo","followers_url":"https://api.github.com/users/gondo/followers","following_url":"https://api.github.com/users/gondo/following{/other_user}","gists_url":"https://api.github.com/users/gondo/gists{/gist_id}","starred_url":"https://api.github.com/users/gondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gondo/subscriptions","organizations_url":"https://api.github.com/users/gondo/orgs","repos_url":"https://api.github.com/users/gondo/repos","events_url":"https://api.github.com/users/gondo/events{/privacy}","received_events_url":"https://api.github.com/users/gondo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-28T12:41:57Z","updated_at":"2015-04-28T12:41:57Z","closed_at":null,"body":"I'am creating email message with SwiftMailer, than casting it `toString()` and passing it as 3rd parameter to `sendMessage()` function, as shown in documentation:  https://documentation.mailgun.com/user_manual.html#sending-via-api\r\nsection: \"Sending a MIME message which you pre-build yourself using a MIME library of your choice\"\r\n\r\n```\r\n$result = $mgClient->sendMessage(\r\n    $domain, array(\r\n        'to' => 'to@example.com'\r\n    ),\r\n    $message->toString()\r\n);\r\n```\r\nhowever `cc` and `bcc` message headers are ignored and email is sent only to `to` recipient.\r\n\r\nexample of my MIME message:\r\n```\r\nMessage-ID: <xxx@example.com>\r\nDate: Tue, 28 Apr 2015 14:05:30 +0200\r\nSubject: test\r\nFrom: from@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nBcc: bcc@example.com\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=utf-8\r\nContent-Transfer-Encoding: quoted-printable\r\nX-Mailgun-Drop-Message: yes\r\n\r\ntesting cc/bcc\r\n```"}}