Email sending STILL impossible (SPAM detected)

Hello,

I can't take it anymore!

For the umpteenth time, my emails sent from my shared hosting are being marked as "Spam" and no email gets sent at all.

The unlocking obviously doesn't work:

It's driving me crazy:

On OVH's advice, I've been using PHPMailer for weeks, with DKIM and SPF.

Everything was fine.

Example of a header upon receipt:

Authentication-Results: mx.mail.ovh.net;
    arc=none (no signatures found);
    dkim=pass (2048-bit rsa key sha256) header.d=minipavi.fr header.i=@minipavi.fr header.b=sAocGF6M header.a=rsa-sha256 header.s=ovhmo5153394-selector1;
    dkim=pass (2048-bit rsa key sha256) header.d=minipavi.fr header.i=contact@minipavi.fr header.b=W6Qk7a/P header.a=rsa-sha256 header.s=minipavi1;
    dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=minipavi.fr;
    spf=pass smtp.mailfrom=contact@minipavi.fr smtp.helo=14.mo584.mail-out.ovh.net;
    x-tls=pass smtp.version=TLSv1.3 smtp.cipher=TLS_AES_256_GCM_SHA384 smtp.bits=256
Received-SPF: pass
    (minipavi.fr: Sender is authorized to use 'contact@minipavi.fr' in 'mfrom' identity (mechanism 'include:mx.ovh.com' matched))
    receiver=in85.mail.ovh.net;
    identity=mailfrom;
    envelope-from="contact@minipavi.fr";
    helo=14.mo584.mail-out.ovh.net;
    client-ip=46.105.40.29

And again, since this morning, I'm still in Spam (even though I'm not sending any!).

Last time, the issue clearly came from "technical" emails I sent to myself.

OVH support told me it was resolved and that they were taking it into account.

In short, I don't know what else to do here...

And, as often happens, this problem shows up on a Sunday, of course.

Ugh...

Hi @Jean_arthurS

Even if everything is correctly configured, the anti‑spam system can still block your hosting if it detects patterns it considers suspicious. The fact that the headers show dkim=pass, spf=pass and dmarc=pass proves that your technical setup is correct, but the block isn’t based on that alone :smirking_face:

Take a look at this doc:

https://docs.ovhcloud.com/fr/guides/web-cloud/web-hosting/mail-function-script-records

The problem is that you’re using shared hosting to send transactional emails, and as far as I know, shared hosts aren’t designed for bulk or transactional email sending. The anti‑spam system is intended to protect the server, and it’s very prone to blocking this type of traffic.

My advice is to use an external transactional email service such as SendGrid, Mailgun, or Amazon SES, which are specifically built for this kind of email.

Hope this helped,
Sergio Turpín

Thank you.

I already know this guide, and have already followed the email‑writing advice.

Apparently, that doesn't prevent them from being considered spam...

Anyway... In terms of volume, I have to send (to myself, that is) about 40 or 50 emails per day... It doesn't seem to me that this is a huge volume!

Using an external email‑sending service seems quite complex for so little... especially since this is a non‑commercial project (which doesn't generate revenue, so I'm trying to keep costs down).

In short, if OVH blocks at 50 emails that I send to myself, that's a real limitation on their part...

I opened a ticket... (I haven't received any alert from them as is usually the case)

And on top of that, the stats are incorrect: 0 emails sent since 19/09, which is obviously not the case (indeed, if that were true, no spam would have been detected!).

Anyway, I'm already on my second day without any ability to send email...

Extremely inconvenient and unprofessional on OVH’s part.

Hello @Jean_arthurS and @sturpin

I have exactly the same problem since Saturday afternoon.

And yet I'm using a script that was working remorque allemand well in the morning.

Well, oddly enough, my emails are getting sent again... But the service status is still "Spam"...

There is definitely something wrong with OVH.

Hello @Jean_arthurS , @sturpin , @Asterix and @FabL

My mail‑sending script using mail(); is working again.

That's not curious at all; I've noticed the same thing every time after opening a ticket, after a more or less long delay, but for how long? In a way it's reassuring because it means that the lack of an immediate response from support does not mean inaction, but it's also disconcerting because the problem hasn't been resolved, or is unacknowledged, and now we live with the constant fear of the next crash.

Hello @Jean_arthurS, @sturpin, @Asterix and @FabL

On my end the mail‑sending script using mail(); works perfectly.
I just tested it a moment ago.

Hello everyone,

Here, a support intervention will be necessary for two reasons:

  • The PHP mail function is being blocked as spam; if this is illegitimate, the dedicated team must take the necessary steps to prevent it in the future.
  • The statistics are not updating and remain at zero within the client area.

If a ticket has been opened on your end, please wait until it is processed. If needed, do not hesitate to contact support by phone at 1007 or via live chat from your client area.

Astérix

Create an Incident ticket:

OVH Manager > https://www.ovh.com/manager/#/dedicated/useraccount/dashboard > My support requests > Create a request / ticket

Post this ticket number on this forum (in case an OVH Team member passes by)

then:

Call OVH support at +33 9 72 10 10 07.
Preferably between 8 a.m. and 9 a.m. in the morning, or around 3 p.m. there is less waiting.

Or already now on Twitter @ovh_support_fr or #OVHcloudsupport

Hello,

I have indeed opened a ticket (CS16967976) on... 19/10!

No response since...

The service status is still "Spam" and the email stats are still at 0... (but my emails are being sent fine... for now! With OVH, you’re never safe!)

Question: could the fact that I no longer use PHP’s mail() function, but PHPmailer, be the reason for these zero stats?

Hello @Jean_arthurS

I don't use PHPMailer, but only a PHP script that I wrote myself with mail(); and it works very well.

Indeed.

The emails generated by mail() – thus without providing a login/password – are the only ones counted.
If in doubt, you can identify these emails from the SMTP headers:

Received: from localhost.localdomain (localhost [127.0.0.1])
by localhost.domain.tld (Postfix)
with ESMTP id 2E3A388
for xx@xx; Thu, 29 Oct 2026 08:42:36 +0100 (CET)
Authentication-Results: ovh-mailtrap; auth=pass (1793259756) smtp.auth=xx@xx
X-Sender-ID: user#@cluster112
Received: by cluster112.hosting.ovh.net (Postfix, from userid user#)
id 086051E4; Thu, 29 Oct 2026 08:42:36 +0100 (CET)

In bold, you have the evidence to find.

There you go, again, since yesterday around 4 p.m.: no more email sending!

I can't take it anymore. It's exhausting.

Is there anyone at OVH to handle my ticket CS16967976, which has been open for 12 days with no response?? Is there a pilot in the plane??

In 2026 you don’t send email from a shared hosting using the mail() function...
You go through providers whose job that is (Sendinblue, AWS, etc.) and use APIs to send the emails...

If you use unreliable, outdated methods, don’t be surprised by recurring problems...

@Sich: If you had read my original post, you would know that I don’t use the mail() function and that all my mailings use DKIM signatures, SPF authentication, and have a DMARC policy. (All of this based on OVH’s good advice, by the way).

On the other hand, when it comes to hosting a personal project that brings in no revenue, you don’t necessarily consider using email service providers for fewer than ten sends per day.

If OVH isn’t capable of making its own SMTP servers accept signed emails from one of its own hosting services, that is, in my view, a problem.

Update: after contacting support by phone, who clearly knew nothing, my ticket was "escalated" internally.

Today, a response from support, completely off‑target, with the usual copy‑paste about the PHP mail() function and how to write emails.

PHP mail() FUNCTION THAT I DON'T USE, as I told them.

So they didn't read my problem description.

It’s really annoying.

I checked on my side: sending email from my scripts works fine from another MX mail plan (different domain).

On the affected domain, PHPMailer returns an authentication error.

An authentication error I’m certain of because it worked perfectly, and still works from a mail client at home.

I conclude there’s an authentication issue with the server "smtp.mail.ovh.net" from my (shared) hosting.

But is there anyone competent at OVH to resolve this problem??

Update:

So, I'm doing my own support since OVH's support is not very helpful.

In fact, you have to go to the "MX Plan" section, and there you can see that the user is blocked for SPAM (even though I obviously don't send any... OVH's filters are apparently configured incorrectly).

To unblock the user, it says to change the password.

But after changing it we get this:

And obviously, the account remains blocked.

I explained it to support (who don't know, so I have to explain it to them).

Hello @Jean_arthurS

Since the email address has been blocked for spam, a support intervention is required. Feel free to contact support by phone at 1007 or via Livechat (between 8 am and 6 pm).

Astérix