OyeScripts Support

QAFlow Documentation

Email / SMTP Setup

Configuration

QAFlow sends emails for password resets, new-user welcome, ticket notifications, and newsletter broadcasts. Without SMTP configured, emails use PHP mail() which often ends up in spam.

Recommended SMTP Providers

  • Gmail (up to 500/day) — free, good for small sites
  • Brevo / Sendinblue (300/day free) — best free tier
  • Mailgun (5,000/month first 3 months) — high deliverability
  • Amazon SES ($0.10 per 1,000) — cheapest at scale
  • Hostinger Mail — if hosted on Hostinger, comes bundled

Gmail SMTP (Quick Start)

  1. In your Google Account → Security → 2-Step Verification → turn ON
  2. Google Account → Security → App Passwords → generate for "Mail"
  3. Copy the 16-character password
  4. In QAFlow admin → Settings → Email fill in:
    • SMTP Host: smtp.gmail.com
    • SMTP Port: 587
    • Security: TLS
    • Username: your Gmail address
    • Password: the App Password from step 3
    • From Email: your Gmail address
    • From Name: your site name
  5. Click Send Test Email → check your inbox

Brevo / Sendinblue

  1. Sign up at brevo.com (300 emails/day free forever)
  2. SMTP & API → SMTP → generate key
  3. SMTP Host: smtp-relay.brevo.com, Port: 587, TLS
  4. Login: your Brevo account email
  5. Password: the SMTP key you generated

Email Logs

Admin → Email Logs shows every sent email with status (success / failed), recipient, subject, and response from SMTP server. Useful for debugging delivery issues.

Email Templates

Admin → Email Templates lets you customize:

  • Welcome email (new user signup)
  • Password reset
  • Email verification
  • New answer notification
  • Mention notification
  • Weekly digest

Each template supports variables like {{user_name}}, {{site_name}}, {{unsubscribe_url}}.