To send email from your own domain and reach the inbox, add three DNS records: an SPF record that lists who may send for you, a DKIM record that lets receivers verify your messages are genuine, and a DMARC record that tells them what to do if a check fails. This guide walks through the steps, shows how to check your DKIM setup, and explains why password reset and receipt emails so often land in spam.
If you want a refresher on what each record does, our post SPF vs DKIM vs DMARC explains the differences. Here we focus on putting them in place.
Before you start
You will need access to your domain’s DNS settings. This is usually at your registrar or DNS host. You will also need your SecureSMTP account, where the DNS values for your domain are shown. Always copy the exact values from your account rather than from an example.

Step-by-step: adding your DNS records
1. Add your domain in SecureSMTP
Open your account and add the domain you want to send from, for example yourdomain.com. SecureSMTP will show the records to publish. The docs cover this screen in more detail.
2. Publish the SPF record
SPF is a TXT record on your domain. It lists the services allowed to send email as you. A domain should have only one SPF record, so if you already have one, add our include to it instead of creating a second.
Use the exact value shown in your account: [SPF value from SecureSMTP dashboard].
3. Publish the DKIM record
DKIM adds a cryptographic signature to each message. Receivers look up your public key in DNS to confirm the message was not altered and really came from your domain. Create the record your account shows, with the host name and value exactly as given: [DKIM host name and value from dashboard].
Some DNS providers add your domain to the end of the host name automatically. If verification fails, check that the name has not been doubled.
4. Add a DMARC record
DMARC is a TXT record at _dmarc.yourdomain.com. A cautious starting point is a monitoring policy, which asks receivers to report but not reject:
v=DMARC1; p=none; rua=mailto:[your reporting address]
Once you have reviewed reports and are confident all legitimate mail passes, you can move to a stricter policy.
5. Wait, then verify
DNS changes can take anywhere from a few minutes to a day or more to spread. Then verify the domain in your SecureSMTP account.
Check your DKIM with the validator
If you are not sure the DKIM record is correct, use our DKIM validator. Enter your domain and selector, and it will show whether the public key can be found and read. It is a quick way to catch typos, missing characters and doubled domain names.
Why password reset and receipt emails go to spam
Transactional emails are important, so it is frustrating when they end up in spam. Common causes include:
- Missing or failing SPF, DKIM or DMARC, so receivers cannot confirm the mail is yours.
- Sending from a domain that does not match the one in your authentication records.
- Links or wording that look like phishing, such as urgent language or mismatched link domains.
- Repeated bounces from old or mistyped addresses, which hurt your reputation.
- Sudden jumps in volume from a domain that has barely sent before.
Authentication will not guarantee inbox placement, but without it you are making receivers’ decisions harder. Keep the content plain, use your own domain consistently and remove addresses that bounce.
Using the tools that help
Once you are sending, the email log shows what happened to each message, webhooks can notify your app of delivery events, and bounce handling helps you stop mailing addresses that do not work. If you would like help writing or testing your integration, see AI SMTP.
Next step
Add your domain, publish the records and check them with the validator. You can start with 5,000 free emails a month. If anything does not verify, our support team is happy to take a look.