Can't make a SPF record work

Hello,

I’ve been struggling with this problem for a while now.

I’ve a domain name hosted at OVH and using it in Netlify. I’ve also a mail service attached to it.

Since a moment, my emails can’t reach Gmail accounts, due to an incorrect SPF record.

I’ve tried to add a SPF record that goes like this: "billyarty.com. IN TXT “v=spf1 include:mx.ovh.com ~all” but when I do that, it’s simply not taken into account.

What is taken into account is a TXT record, but somehow it always ends up looking like this: billyarty.com. 0 IN TXT “"v=spf1 include:mx.ovh.com ~all"”

instead of: billyarty.com. 0 IN TXT “v=spf1 include:mx.ovh.com ~all”
Even when I type it manually in the add record form.

Is there something I’m doing wrong here ?

You need to add a TXT record with the value: v=spf1 include:mx.ovh.com ~all and @ as the hostname.