Disable contact form & send email copy in Joomla through MySQL / PhpMyAdmin

JanR/ March 26, 2019/ Joomla Documentation/ 0 comments

When spam is sent CC using Joomla forms, it’s important to disable either the option to send an email copy, or the complete form. This post shows you how.

Log on to your MySQL database using PhpMyAdmin or MySQL cli. Then lookup the com_contact information in the prefix_extensions table:

SELECT * FROM `prefix_extensions` WHERE `name` = "com_contact"

Set “show_email_form”:”1″ and “show_email_copy”:”1″ to 0:

UPDATE `prefix_extensions` SET `params` = 
'{\"contact_layout\":\"_:default\",\"show_contact_category\":\"hide\",\"show_contact_list\":\"0\",\"presentation_style\":\"sliders\",[...]\"show_email_form\":\"0\",\"show_email_copy\":\"1\",\"banned_email\":\"\",\"banned_subject\":\"\",\"banned_text\":\"\",[...]\"redirect\":\"\",\"show_feed_link\":\"1\"}

By setting both show_email_form and show_email_copy to 0 you completely disable the email form in Joomla. Only set show_email_copy to 0 to disable the CC option.

Flexi Contact

FlexiContact is a free contact form that is very easy to setup yet has enough features for most websites. 

FlexiContact Introduction

When FlexiContact is in use, disable the send a copy option by setting
show_copy to 0 for the component com_flexicontact. You can do this the same way as for Joomla’s com_contact.

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*