• I’m unable to find anything on this on the official site or on other popular support forums and hoping the developer or community here will be able to help. When you add data to the Mail tab to set up your email template within CF7, where and how is that data stored? Just to clarify, I’m not talking about the data submitted by site visitors via the form you’ve created, I’m talking about the data entered via the plugin interface within the dashboard that determines where the submissions are sent to and how they are structured. The interface can be seen here.

    I have the ongoing problem that every-time I deploy a site and update the database the fields are being wiped out, this results in submissions failing. I therefore have to manually re-enter the data after each deploy. I’m unable to find anything in the database nor do I see changes to the git repo, so I’m confused as to how it’s stored and how to ensure it doesn’t get cleared.

    Any help would be much appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    FAQ > How can I export/import contact form data?

    As explained in this FAQ, all contact form template data are stored in the wp_posts and wp_postmeta tables as custom post type data.

    Thread Starter morgyface

    (@morgyface)

    I’m very grateful for the response, my confusion comes from the fact that when I move databases between, local, dev, staging and production, the Mail data tab is only populated on the site where it was added. So whilst the form content exists across the board, the mail tab is empty on all sites apart from the site where the duplicated database came from, this causes any submissions to fail. This means that every time I move databases, I need to manually re-add the mail tab data. Why does this happen? Is there a workaround?

    To further illustrate; The client is currently populating content on dev, when they let me know I download the database, find/replace the URL and then import to production. This works perfectly, apart from the mail tab is empty on production. It’s populated and works on dev, but is empty on production. This means that following import, I must then log-in and manually re-add all the mail tab data.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Email template data storage’ is closed to new replies.