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

  1. multimule
    Posted 5 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.


  2. Takayuki Miyoshi
    Plugin Author

    Posted 5 years ago #

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

  3. multimule
    Posted 5 years ago #

    Thanks Takayuki!

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

  4. datavyam
    Posted 4 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.

  5. Maruti Mohanty
    Posted 4 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
    Posted 4 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic