This can be achieved by hooking into the process of the notification mail being sent by the CF7 plugin. The plugin provides the ‘wpcf7_mail_components’ filter which allows you to modify the email message prior to it being sent,
add_filter('wpcf7_mail_components','add_mgr_mail',10,3);
function add_mgr_mail($components, $form, $mail_obj){
//if you have several cf7 forms, check this is the right one,
if($form->id() != 1) return $components;
//the components are the in an array...
$components['subject']; //email subject.
$components['sender']; //email sender mail.
$components['body']; //email message body.
$components['recipient']; //email recipient mails.
$components['additional_headers']; //email headers.
$components['attachments']; //email attachments.
//so, to add your mgr email you could do something like:
$post_id = .... //fetch the post ID in which you stored your email.
$mgr_email = get_post_meta($post_id, 'manager_email',true);
$components['body'] .= PHP_EOL."Manager e-mail:".$mgr_email;
return $components;
}
NOTE: the $post_id
in the above function represents the ID of the post in which you stored your email. If the mail is always the same, simply hardcode the email in the above function, however if youe mail depends on the form being submitted then you need to identify the post that contains the right email, but that’s a different problem altogether.