Hello,
In 2026, I have detected nine times that the mail() function was blocked on my site; I note that in the manager the service was always active and not blocked for spam, these blockages lasting from a few hours to over 48 hours.
It is possible that this function has been blocked at other periods without me noticing.
A similar blockage for a commercial site is not without consequences, as anyone can imagine.
Each time, the response received a few days later from support told me that everything was fine (after the function was unblocked by support)... the latest replies were supplemented with an explanation mentioning a blockage presumably due to a spam detection, perhaps spam generated by a form on the site, but without any more precise explanation.
This explanation seems unconvincing to me, because, as mentioned above, the manager never indicated a state of mail blocked for spam; I suspect there is another explanation.
Filtering mails sent from scripts hosted at OVH is commendable and legitimate provided the filter is effective.
Now, if it is indeed OVH's anti‑spam filter that is the origin of the blockages encountered by the mail function when it detects a potential spam, including legitimate mails, the action it generates is problematic, because it is not only the potential spam that is blocked, nor the script concerned, nor the domain concerned, but the entire hosting, therefore all hosted domains, without the slightest information sent to the hosting's postmaster ... a real disaster!
From this observation it seems to me that this situation must evolve, at minimum by sending an email to the hosting's postmaster to inform them of the situation, if possible with the address of the script that caused the block and ideally only blocking the mail or the emitting script, but not all scripts of the domain nor all domains of the hosting.
I hope the community will speak up so that the current situation changes.
Best regards