• Hi,
    I use your very useful and helpful the Contact Form 7 Modules: Send All Fields plugin, version 2.0.2.
    CF7 is set with the checkbox to send the mail with html format, but for some reason it appears that the plugin gets html as false all the time.
    I looked in the send-all-fields.phpfile at lines 29-31:

    $html = false;
    	if ( wpautop( $array['body'] ) == $array['body'] ) {
    		$html = true;
    	}

    When I var_dump($html) it is always false, which causes the mails to be sent as a one long string unreadable for humans.
    Meantime I just hard coded changed $html to be true always and it’s ok.
    But it seems that the if statement returns alwayas false.
    Could it be fixed please?

    Thanks
    Maor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for this hack @maorb. I also realized blank fields are not added to the notification even though the “Exclude lines with blank mail-tags from output” checkbox is unchecked. I commented out lines 58-61 so that blank fields are added regardless.

    Thanks a lot @maorb and @inhouse. I had the same problem and implemented the workarounds you proposed. Works link charm now. Would be nice to know when this is going to be fixed. Any date foreseen?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Send All Fields html always false bug’ is closed to new replies.