WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
how to include a file in the email body (1 post)

  1. earl.allin
    Member
    Posted 1 year ago #

    I would like to be able to include information from a text file in the email being sent out using Contact Form 7.

    I noticed the documentation indicated you can use <php ?> commands in the email body, so I attempted to use:

    <?php echo "yes"; ?>

    and

    <?php echo readfile("/home/myroot/public_html/details.txt"); ?>

    but nothing shows up in the outgoing email.

    Can someone let me know if this is possible?

    Thanks,

    Earl

    http://wordpress.org/extend/plugins/contact-form-7/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic