SMTP is regarded as an unsafe legacy email protocol. Enable or disable SMTP access for the entire organisation.
Read more in MS docs