你如何阻止向某个域名发送电子邮件?

Let’s say I have some signups on my forum from a certain domain let it be example.com, is there a way I can stop all kind of mails being sent to them?

There is a blocked email domain site setting to keep people from signing up with those addresses.

If you don’t trust that domain, maybe just delete those users?

3 个赞

Practically, I don’t want to block them just stop sending them mails as these are some dummy accounts created using the API

1 个赞

Then use bogus.invalid for the domain name. The invalid tld is reserved for your exact case.

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.