When we create a WordPress theme then some times need to pass a variable to another template for some functionality and save time, reduce duplicate code purpose, but I have check this feature not available in get_template_part() function.This function doesn't accept other arguments and not allow to passing variables....
Step1:Add this function in theme functions.php
Step2: Add this Shortcode in Contact form:
Step3: Check on Use mail (2) checkbox in contact form7 and put contact form mail field code into the To fields in Mail (2) Section.
Help4cms is an online resource of WordPress and Magento Tutorial and tricks For Professional WordPress and Magento Developers, with easy to understand and help you take your knowledge to the next higher level.