Email address used by website but I do not know where

I build a website for a client. This client then filled the website with content. I created 20 contact forms, using the contactform 7 and WP Mail SMTP Pro plugin. The website has now more than 100 pages.

First my email address was used for the sites admin. I changed this later to my clients email address. I also used the client his email address for all of the contact forms.

But now I still get a emails from the site, every now and again. When a visitor from the site used the site to email my client, either by contactform, or otherwise (I do not know exactly how). Instead of sending the email to my client, the email was send to my email address.

I want to change this, but do not know from what part of the website the emails are coming from. They are not coming from the contact forms, I changed the email addresses there.

Is there a way I can see what page the emails are coming from? The people who send the emails do not remember which part of the website they used when sending the emails.

Maybe there is a way to download all of the source code of the website?

Topic plugin-contact-form-7 email contact Wordpress

Category Web


Email settings are usually somewhere in the database. You'll likely find it in a table that gives you a good clue about where the setting can be changed. It may be wise not to just search-and-replace it directly since data can be serialized, meaning that if you replace the address with a different one that has a different number of characters, that breaks the setting. However, there are plugins that can do safe search-and-replace because they unserialize and re-serialize data.

If you don't find the email address anywhere in the database, the other option would be in the files. Yes, you can download the site's files, typically using an FTP client, sometimes using a host's file manager tool. Then you would want to run a "find in files" type command to search for the email address, and again, carefully replace it. If you do find the email address in files, it would be better to take the time to convert that to a setting that can be changed in wp-admin, rather than having to edit any of the theme or plugin files directly.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.