Title: Bug with mg_parse_headers
Last modified: June 5, 2017

---

# Bug with mg_parse_headers

 *  Resolved [computercourage](https://wordpress.org/support/users/computercourage/)
 * (@computercourage)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/bug-with-mg_parse_headers/)
 * There’s a compatibility issue with this plugin and the bbPress topic/forum subscription
   notifications, and it’s coming from the mg_parse_headers function. Basically,
   bbPress separates each of the subscriber emails to its own BCC line in the headers
   variable (ex. array( ‘BCC: [email_1@abc.com](https://wordpress.org/support/topic/bug-with-mg_parse_headers/email_1@abc.com?output_format=md)’,‘
   BCC: [email_2@abc.com](https://wordpress.org/support/topic/bug-with-mg_parse_headers/email_2@abc.com?output_format=md)’)),
   and the mg_parse_headers overwrites each BCC entry, so only the very last one
   gets BCCed.
 * Any thoughts on a fix for this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mailgun](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/bug-with-mg_parse_headers/#post-9224446)
 * [@computercourage](https://wordpress.org/support/users/computercourage/) Hey 
   there, I’ve got a fix for this issue if you want to beta test the release! [https://github.com/mailgun/wordpress-plugin/archive/655ee6a005f81e813b105f78c533aa600b06796d.zip](https://github.com/mailgun/wordpress-plugin/archive/655ee6a005f81e813b105f78c533aa600b06796d.zip)
 * Let me know if that fixes things for you. Thanks!
 *  Thread Starter [computercourage](https://wordpress.org/support/users/computercourage/)
 * (@computercourage)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/bug-with-mg_parse_headers/#post-9225068)
 * Thank you, that appears to have fixed the problem!
 *  Plugin Author [Mailgun](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/bug-with-mg_parse_headers/#post-9225551)
 * [@computercourage](https://wordpress.org/support/users/computercourage/) Sweet,
   thanks for letting me know! I will get this release out.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug with mg_parse_headers’ is closed to new replies.

 * ![](https://ps.w.org/mailgun/assets/icon-256x256.png?rev=2434524)
 * [Mailgun for WordPress](https://wordpress.org/plugins/mailgun/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailgun/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailgun/)
 * [Active Topics](https://wordpress.org/support/plugin/mailgun/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailgun/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailgun/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mailgun](https://wordpress.org/support/users/mailgun/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/bug-with-mg_parse_headers/#post-9225551)
 * Status: resolved