Title: midexsoftware's Replies | WordPress.org

---

# midexsoftware

  [  ](https://wordpress.org/support/users/midexsoftware/)

 *   [Profile](https://wordpress.org/support/users/midexsoftware/)
 *   [Topics Started](https://wordpress.org/support/users/midexsoftware/topics/)
 *   [Replies Created](https://wordpress.org/support/users/midexsoftware/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/midexsoftware/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/midexsoftware/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/midexsoftware/engagements/)
 *   [Favorites](https://wordpress.org/support/users/midexsoftware/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordpress Printable Gift Certificate Plugin (WP Gift Cert)] [Plugin: WordPress Printable Gift Certificate Plugin (WP Gift Cert)] Certificate email not being sen](https://wordpress.org/support/topic/plugin-wordpress-printable-gift-certificate-plugin-wp-gift-cert-certificate-email-not-being-sent/)
 *  [midexsoftware](https://wordpress.org/support/users/midexsoftware/)
 * (@midexsoftware)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-printable-gift-certificate-plugin-wp-gift-cert-certificate-email-not-being-sent/#post-2749393)
 * There is something wrong the the header that is being contructed when email is
   being sent. I had to modify wpgift-loader.php file.
 * find the line:
    $sendit = wp_mail($to, $subject, $message, $headers);
 * 1. above this line, add:
    // this will send email in html format instead of text
   add_filter(‘wp_mail_content_type’,create_function(”, ‘return “text/html”;’));
   2. change this like by remove $header variable so the line looks like $sendit
   = wp_mail($to, $subject, $message);
 * I am not sure how the $header was intended to work, but all I figured out is 
   the fact that by not specifying this custom header, it works.

Viewing 1 replies (of 1 total)