Enhanced SMTP status code · RFC 3463 · IANA
5.2.240 The email account is not set up properly for the HVE service
The account or organisation is not set up for, or not allowed to use, the HVE service; the administrator has to fix it.
- Class: Permanent failure
Class 5: a permanent failure. Resending the same message will not help: something about the message, the sender or the destination must change (RFC 3463 §3.1).
- Subject: X.2 · Mailbox
Something about the recipient's mailbox; under the recipient's control.
How 5.2.240 appears at providers
The exact text from the provider's documentation, as you see it in the bounce, and what it means.
Microsoft 365 / Exchange Online
-
550 5.2.240
The email account is not set up properly for the HVE service. Contact your administrator.
The account or organisation is not set up for, or not allowed to use, the HVE service; the administrator has to fix it.
Have the whole error message?
Sources: RFC 5321 · RFC 3463 · RFC 3464 · IANA · Gmail · Microsoft 365 · read on 26 September 2026