Why mail lands in spam

Align From with how you send, use a domain you control, and check provider reputation when mail vanishes.

Settingemail_from

Why mail lands in spam

Most “email is broken” tickets are either not sending or sending into spam. This is for the second case.

Where related settings live

  • Email from address → Site identity (email_from) — full address or local-part; if no @, domain is taken from contact email / Gmail account / SMTP user
  • Email delivery mode → Email delivery
  • Templates → Settings → Emails

What to align

1. From should be a domain you control (ideally the site domain).

2. The SMTP/Gmail account must be allowed to send as that From (provider “verified domain” / allowed senders — see your provider’s docs).

3. On your DNS host, publish SPF (and DKIM/DMARC if the provider gives records). The script does not configure DNS for you.

4. Avoid @gmail.com as From while sending via a random VPS Sendmail IP — filters hate that. Prefer SMTP/Gmail mode or a transactional provider.

Common problems

Verification emails “never arrive”

Check spam first, then provider/VPS logs. Confirm mode + credentials with a test send.

Only some inboxes accept mail

Fresh VPS IP reputation is often poor on raw sendmail. Use Mailgun, SES, or similar SMTP.

Templates look like phishing

ALL CAPS subjects, odd From display names, or links that don’t match the brand. Edit under Settings → Emails.

Related