Prevent specific website from sending any mail


Is it possible to prevent a virtual server / website from sending mail?

I often work on a development copy of a website where I don’t want the website to send any mails to the users. Just disabling mail for domain is not enough.

Can it be done?



No, unfortunately, it’s not really possible to prevent a website from sending email.

The mail for domain feature just prevents a website from receiving email.