The Sender Policy Framework (SPF) is used to authenticate the legitimacy of the sender, in order to prevent spammers from sending messages on behalf of your domain.
SPF record explained
By adding an SPF record to your Domain Name System (DNS), you can provide a public list of senders that are approved to send emails from your domain.
An SPF record is a DNS TXT record containing a list of the IP addresses that are allowed to send emails on behalf of your domain.
How to create a SPF record
The steps for configuring an SPF record vary and depend on the hosting platform your domain uses.
You can use this link to help you create an SPF record. All you need to do is search your host or registry and follow the detailed steps in the link to create an SPF record.
Why should I create an SPF record?
Having a Sender Policy Framework (SPF) record in the DNS hosting of a domain plays a vital role in improving email deliverability, as well as establishing domain reputation.
It's important to note that while SPF is effective in preventing email spoofing, it is just one component of email authentication. Having the DKIM and DMARC records, combined with the SPF record, will provide strong protection against email fraud and phishing attacks.