Foodomaa Docs
Main site Buy — $299
Documentation menu

Email & SMTP

Order confirmations, password resets and vendor invites all depend on email. A working SMTP connection is not enough; the domain also needs authentication and a monitored reply address.

SMTP or API?

OptionUse whenNotes
SMTPAny provider; simplest setupHost, port, encryption, username, password
Provider APIHigh volume or better trackingRequires a plugin or custom integration
Local mailDevelopment onlyAlmost always lands in spam in production

Configure the sender domain

  1. Create a subdomain such as mail.yourdomain.com for transactional email.
  2. Add the provider's SPF record and DKIM keys.
  3. Publish a DMARC record; start with p=none and a reporting address.
  4. Set the From address to a real mailbox you monitor, and Reply-To to support.
  5. Warm up gradually if the domain is new.

Test checklist

  • Password reset to Gmail, Outlook and a local provider.
  • Order confirmation with an image and a tracking link.
  • Vendor invite and payout statement.
  • Refund and cancellation messages.
  • Spam score and link check.
  • Unsubscribe link for marketing mail, not transactional mail.

Common failures

SymptomCheck
Connection refused/timeoutHost, port, TLS mode, firewall, provider allowlist
Authentication failedUsername, app password, API key, 2FA on the mailbox
Mail lands in spamSPF, DKIM, DMARC, domain reputation, content
Images brokenAbsolute HTTPS URLs, public storage, hotlink protection
Mail queues but never sendsCron/queue worker, provider rate limit, disk full
Do not use a personal Gmail SMTP account. It has low limits, weak deliverability and ties the business to an individual mailbox. Use a transactional provider or your domain's SMTP service.