Domains
Verify your sending domain to improve deliverability and send from your own addresses.
Overview
By default, emails are sent from a shared YourSend domain. To send from your own domain (e.g., hello@yourcompany.com), you need to verify it first.
Domain verification configures DKIM, SPF, and DMARC records to ensure your emails are authenticated and not marked as spam.
Add a Domain
- Go to Dashboard → Domains
- Click Add Domain
- Enter your domain name (e.g.,
yourcompany.com) - YourSend will generate the DNS records you need to add
DNS Records
Add the following records to your DNS provider (Cloudflare, Route53, GoDaddy, etc.):
| Type | Name | Value |
|---|---|---|
| CNAME | ys1._domainkey | Provided by YourSend |
| CNAME | ys2._domainkey | Provided by YourSend |
| CNAME | ys3._domainkey | Provided by YourSend |
| TXT | _dmarc | v=DMARC1; p=none; |
Verification
After adding the DNS records, click Verify in the dashboard. Verification typically takes 5–10 minutes, but DNS propagation can take up to 48 hours.
✓ Verified— Once verified, you'll see a green checkmark next to your domain in the dashboard.
Sending from Your Domain
Once verified, use your domain in the from field:
await ys.send({
channel: 'email',
from: 'Team YourApp <hello@yourcompany.com>',
to: 'user@example.com',
subject: 'Welcome!',
html: '<p>Hello from your verified domain!</p>',
});