Hi @akshaya347
If the lockout email doesn’t arrive then that suggests that WordPress is unable to reliably send mail and you can ask your hosting provider if they can see why WordPress is unable to send all mail. Please note that Wordfence doesn’t send the email, we use the WordPress mail function to send the email.
Alternatively, to gain access to your site immediately, you can rename the Wordfence plugin via FTP/SSH or your hosting control panel file manager. If you are not sure what to do your hosting provider may be happy to help.
Find the Wordfence directory in the file path below and rename the Wordfence directory as below:
~/wp-content/plugins/wordfence-disabled
You will now be able to log in to WordPress.
You then need to rename the Wordfence directory again to reactivate Wordfence as below:
~/wp-content/plugins/wordfence
At this point, you won’t see Wordfence in the WordPress menu. Click the WordPress Dashboard menu item and you will then see the Wordfence main menu item appear. However, you may need to reactivate Wordfence on the WordPress Plugins page first.
You can then open the Blocking tab on the Firewall page to look for a block for your IP address and the reason given. If there are a lot of blocks then you can search for your IP address in the list of blocks. You can find your IP address here (note that this detection is not 100% accurate on cellular phone network connections):
https://whatismyipaddress.com/
Depending on the reason given for the lockout you can adjust that setting so that it doesn’t happen again. Our recommended settings are in the link below:
https://www.wordfence.com/help/firewall/brute-force/