WordPress.org

Ready to get started?Download WordPress

Forums

Enhanced Emails
Headers Error (2 posts)

  1. Donald Gilbert
    Member
    Posted 3 years ago #

    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/

  2. kitchin
    Member
    Posted 2 years ago #

    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 ) )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic