If this is your first visit, check our documentation. To post, register or login.

Disable sending mails

Started by arvinrags on 18 May 2022, 9:51 AM · Views: 2,246

Results 1 to 3 of 3
18 May 2022, 9:51 AM
#1
arvinrags avatar

arvinrags

New Zenner

Join Date:
Apr 2022
Location:
India
Posts:
12
Plugin Contributions:
0

Post #1 by arvinrags

Zen cart version - v1.53
URL - https://www.eshubham.com
PHP - 7.4

Is there a way to disable emails being sent from Contact us form via PHPmyadmin? Since admin dashboard is not accessible currently. We need to disable contact form to avoid spam mails till the issue with admin access gets solved.

18 May 2022, 11:19 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,762
Plugin Contributions:
56

Post #2 by swguy

To disable only contact emails, change your template file tpl_contact_us_default.php to just say "this feature is temporarily disabled."

You can disable ALL emails with a database change but not just contact us emails.

To disable ALL emails, use

UPDATE configuration SET configuration_value = 'false' WHERE configuration_key = 'SEND_EMAILS';

Make a backup of your database before you run SQL commands in case something goes wrong.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 May 2022, 4:15 AM
#3
arvinrags avatar

arvinrags

New Zenner

Join Date:
Apr 2022
Location:
India
Posts:
12
Plugin Contributions:
0

Post #3 by arvinrags

swguy:

To disable only contact emails, change your template file tpl_contact_us_default.php to just say "this feature is temporarily disabled."

You can disable ALL emails with a database change but not just contact us emails.

To disable ALL emails, use

UPDATE configuration SET configuration_value = 'false' WHERE configuration_key = 'SEND_EMAILS';

Make a backup of your database before you run SQL commands in case something goes wrong.

Thank you, I will try the template option first.