By IRNA on Tuesday, 17 May 2022
Posted in General Issues
Replies 3
Likes 0
Views 767
Votes 0
We have setup a copy of our production site in a staging environment for a long-term project, including the complete database with all plans, users, and subscriptions.

I would like to prevent our customers from receiving emails from the staging environment while we are working on these changes. Is there a way to turn them off entirely?
You can try to modify this file JoomlaFolder/administrator/components/com_payplans/includes/mailer/mailer.php then add the following code into that send function, you can refer to my attached screenshot below.


return true;
·
Tuesday, 17 May 2022 13:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex! I will give that a try.
·
Wednesday, 18 May 2022 05:37
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.
·
Wednesday, 18 May 2022 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post