Title: Mandrill Controller Reply-To Bug
Last modified: October 3, 2024

---

# Mandrill Controller Reply-To Bug

 *  Resolved [morganwww](https://wordpress.org/support/users/morganwww/)
 * (@morganwww)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/mandrill-controller-reply-to-bug/)
 * We found a bug with the way Reply-To headers are set in `MandrillController.php`.
 * On line 76, there is a call to `$phpmailer->getReplyToAddresses()` that returns
   an associative array. On line 77, the condition checks it as if it is a standard
   array.
 * We were able to resolve it by changing line 76 to `array_values($phpmailer->getReplyToAddresses())`,
   converting the associative array to a standard array.
 * This may be an issue with the other controllers as well; Mandrill is what we 
   use so that’s where we found the bug.

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

 *  Plugin Support [mialewp](https://wordpress.org/support/users/mialewp/)
 * (@mialewp)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/mandrill-controller-reply-to-bug/#post-18051388)
 * Hello [@morganwww](https://wordpress.org/support/users/morganwww/),
   Good day!
   Thanks for reaching out to us.We will check it and get back to you as soon as
   possible. Thanks for your reports and for the reference solution.Best regards,
   Mia
 *  Plugin Support [alina98](https://wordpress.org/support/users/alina98/)
 * (@alina98)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/mandrill-controller-reply-to-bug/#post-18051471)
 * Hi [@morganwww](https://wordpress.org/support/users/morganwww/) ,
 * The issue has been acknowledged and we will update the patch in a new version.
 * Thanks once again for the report.
 * Regards.

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

The topic ‘Mandrill Controller Reply-To Bug’ is closed to new replies.

 * ![](https://ps.w.org/yaysmtp/assets/icon-256x256.png?rev=3056583)
 * [YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service](https://wordpress.org/plugins/yaysmtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yaysmtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yaysmtp/)
 * [Active Topics](https://wordpress.org/support/plugin/yaysmtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yaysmtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yaysmtp/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [alina98](https://wordpress.org/support/users/alina98/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/mandrill-controller-reply-to-bug/#post-18051471)
 * Status: resolved