Viewing 1 replies (of 1 total)
  • Just have the same problem with Contact Form 7 and just commented one line of the file mail.php and it works.

    The file is in wordpress/wp-content/plugins/contact-form-7/
    It’s named mail.php
    The line 171 contains

    
    add_action( 'phpmailer_init', 'wpcf7_phpmailer_init' );

    I just change it to

    //add_action( 'phpmailer_init', 'wpcf7_phpmailer_init' );

Viewing 1 replies (of 1 total)

The topic ‘Call to undefined method PHPMailer::getCustomHeaders()’ is closed to new replies.