Email Destination not working
-
WordPress Version: 4.9.8
Constant Contact Forms Version: 1.4.1In “Edit Form” I have a different email address than the site admin email.
All submissions are still going to the site admin.
I traced where the plugin looks for the email destination
In file:
includes/class-user-custimizations.php on line 89:
$custom_email = get_post_meta( $form_id, ‘_ctct_email_destination’, true );I could not find any record in the postmeta with the above meta_key.
I looked in the postmeta table for all meta data associated with the $form_id, AKA post_id.
I found in postmeta table the meta key associated with that email address is: _ctct_email_settings not _ctct_email_destination.
To make it work I edited line 89 to be:
$custom_email = get_post_meta( $form_id, ‘_ctct_email_settings’, true );Since I edited it, I don’t want it to break on next upgrade… any thoughts?
The topic ‘Email Destination not working’ is closed to new replies.