![]() |
stop newsletter subscription to admin
Hi does anyone know what line to comment out in the func.php to stop the admin of the site getting a subscription confirmation when someone subscribers to the newsletter???
using x-cart 3.3.3 |
please ignore the above, I think I found it.
|
it would help others to post your findings
|
Yup agreed, sorry normally would but I was in a rush.
the way to do it was in the mail/ folder open up subscribe.php and look for the line that starts: # Send mail notification to admin # func_send_mail($config["Company"]["newsletter_email"], "mail/newsletter_admin_subj.tpl", "mail/newsletter_admin.tpl", $email, true); comment out the func_send by placing a # in front of it and then do the same with unsubscribe.php so it look like this: #func_send_mail($config["Company"]["newsletter_email"], "mail/newsletter_admin_subj.tpl", "mail/newsletter_admin.tpl", $email, true); that was it, this is using 3.3.3 so I don't know if it the same for other versions (can someone confirm that it is?) |
Im still having a problem though with the shop sending out emails to the adminstrator/provider when changing the order status of a customer, if anyone knows which line to comment out in what file PLEASE let me know.
at the moment if I change the order status of a order from proccessed it sends an email to both the customer (good) and to the adminstrator (bad), there is no need for the adminstrator to get an email coz I don't need an email telling me something that I just did myself... using x-cart 3.3.3 |
All times are GMT -8. The time now is 08:53 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.