WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Enhanced Emails] Headers Error

[Plugin: Enhanced Emails] Headers Error

  • After installing the plugin, and submitting a test comment to check the enhanced emails, I got a headers already sent error. I found that this was due to extra whitespace at the end of the action_links.php file in the plugin. I would recommend just deleting the ?> and any extra blanks lines at the end of all the plugin files to fix the problem.

    Other than that, this plugin rocks and I’m glad they are working on getting it into core for 3.3!

    http://wordpress.org/extend/plugins/enhanced-emails/

Viewing 1 replies (of 1 total)
  • Did not make it for 3.3. Another bug is that the variable $phpmailer->AltBody is not initialized. If you send an html email and then a plain email, the second email gets the first email’s attachment. Suggested fix in pluggable.php:

    $phpmailer->ClearCCs();
    	$phpmailer->ClearCustomHeaders();
    	$phpmailer->ClearReplyTos();
    
    +	$phpmailer->Body= '';
    +	$phpmailer->AltBody= '';
    
    	// From email and name
    	// If we don't have a name from the input headers
    	if ( !isset( $from_name ) )
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Enhanced Emails] Headers Error’ is closed to new replies.