WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Hook into sending in order to extract sender e-mail & subject (6 posts)

  1. multimule
    Member
    Posted 2 years ago #

    Is there any function I can hook into (e.g. via add_action()) in order to retrieve the sender/subject just before/after sending?

    I need this data in order to process it in another plugin.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    You can use wpcf7_mail_sent action hook in includes/controller.php.

  3. multimule
    Member
    Posted 2 years ago #

    Thanks Takayuki!

    Your plugin is btw one the most beautifully coded one I've encountered so far!

  4. datavyam
    Member
    Posted 2 years ago #

    I have set up Contact form 7 and I am using it successfully.
    I need to know how to extract the emails stored in the form.
    Thanks for your help.
    G

  5. Maruti Mohanty
    Member
    Posted 2 years ago #

    @datavyam you can use another plugin Contact Form 7 to Database Extension
    It helps you provide with a DB in the Wp-admin and from there you can extract any required data (including emails)

  6. datavyam
    Member
    Posted 2 years ago #

    Hi Marutim,
    Thanks for the email.

    I looked at the plugin. My understanding is that going forward, I need to install CF2DE to access the emails sent.

    Can you please confirm that at present state, emails generated through Contact 7 are not saved in the database at all?

    Thanks for your time.

    Mohan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic