Trouble with Selectable Recipients – WP / WPCF 4.1.1
-
I’m having trouble with the multiple recipients – my debugging is on but I get no errors. The form just keeps telling me: “Your message could not be sent.”
Here’s what my form shortcode looks like:
[select* test "test1|hook@domain.com" "test2|hook@domain.com"]
I spit out the WPCF7 Object and it looks like it’s transferring it correctly:
[scanned_form_tags:WPCF7_ContactForm:private] => Array ( [0] => Array ( [type] => select* [basetype] => select [name] => test [options] => Array ( ) [raw_values] => Array ( [0] => test|hook@domain.com [1] => test2|hook@domain.com ) [values] => Array ( [0] => test [1] => test2 ) [pipes] => WPCF7_Pipes Object ( [pipes:WPCF7_Pipes:private] => Array ( [0] => WPCF7_Pipe Object ( [before] => test [after] => hook@domain.com ) [1] => WPCF7_Pipe Object ( [before] => test2 [after] => hook@domain.com ) ) )
It also tells me that
[recipient] => [_raw_test]
which looks corect.If I remove the pipes and replace the
[_raw_test]
with a static email address it works correctly which leads me to believe the pipes are causing the issue. Is there a problem with *how* I’m adding the recipients or is this an issue with the latest version of WordPress? Does anybody else have this issue?
- The topic ‘Trouble with Selectable Recipients – WP / WPCF 4.1.1’ is closed to new replies.