Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible (and how) to include php code in the mail(2) on Contact form 7?

I have one plugin, which generates one particular url, and want to include it like this: php print $link; ?> in the mail, which is sent to user after form submit.

Plugin source: Publish Post After Click On A Link

Contact form 7 plugin: http://wordpress.org/plugins/contact-form-7/

share|improve this question
    
You want to include executable PHP in the email you send? –  s_ha_dum Aug 11 '13 at 15:06
    
yes I have one plugin, which generates one particular url, and want to include it like this: <?php print "<$link>"; ?>.. Is it possible? And no, I want to include php in the response mail which gets to the user who submitted the form! –  M P Aug 11 '13 at 15:09
    
Edit that information into the question please, and provide a link to the plugin source. Also, "thanks" is considered noise here as it is not in any way relevant to the question. Accept the best answer and upvote any helpful ones. That is all the "thanks" expected or required. –  s_ha_dum Aug 11 '13 at 15:20
    
Plugin source: wordpress.stackexchange.com/questions/109676/… –  M P Aug 14 '13 at 10:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.