P H O T O N

CONSOLE

Loading

2-Minute Drop-In Setup • RFC 5321 Standard

Developer Quickstart & Code Playground

Connect your backend to PhotonRelay in under 120 seconds. Choose your programming language or framework below to generate drop-in code snippets with sub-second delivery latency.

Personalize Snippets

Enter your domain and test API key to personalize all code snippets dynamically in real-time. Runs 100% locally in your browser.

Anti-Spam & Abuse Guard

Photon Console enforces strict RFC 5321 domain ownership verification. Outbound relay requires 2048-bit DKIM and SPF alignment to preserve 99.98% primary inbox placement.

Production Connection Parameters

SMTP Host: smtp.photonrelay.com
SMTP Port (STARTTLS): 587 (Recommended)
SMTP Port (Implicit SSL): 465
REST API Endpoint: https://api.photonconsole.com/v1/send
Authentication: PLAIN / LOGIN
TLS Version: TLS 1.2 / TLS 1.3
curl -X POST https://api.photonconsole.com/v1/send \
  -H "Authorization: Bearer pr_live_8f9c2e4a1b7d5e" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Security Alert <security@mycompany.com>",
    "to": ["developer@example.com"],
    "subject": "Your Verification Code: 482910",
    "html": "<p>Your login OTP is <strong>482910</strong>. Expires in 10 minutes.</p>",
    "text": "Your login OTP is 482910. Expires in 10 minutes."
  }'

Dry-Run Latency Simulation

Simulate TLS handshake, cryptographic DNS validation, and relay execution safely.
// Ready to simulate. Click "Run Test Ping" to test connection speed.
Framework Guides

Instant Drop-In Setup for Popular Frameworks

Copy and paste pre-configured configuration blocks directly into your project's environment variables.

Laravel 10/11 .env
MAIL_MAILER=smtp
MAIL_HOST=smtp.photonrelay.com
MAIL_PORT=587
MAIL_USERNAME=api
MAIL_PASSWORD=pr_live_...
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="info@yourdomain.com"
WordPress WP Mail SMTP
Mailer: Other SMTP
SMTP Host: smtp.photonrelay.com
Encryption: TLS
SMTP Port: 587
Auto TLS: ON
Authentication: ON
User: api
Pass: pr_live_...
Django settings.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.photonrelay.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'api'
EMAIL_HOST_PASSWORD = 'pr_live_...'
Next.js .env.local
SMTP_HOST=smtp.photonrelay.com
SMTP_PORT=587
SMTP_USER=api
SMTP_PASSWORD=pr_live_...
SMTP_FROM="noreply@yourdomain.com"
NEXT_PUBLIC_APP_URL="https://yourdomain.com"
Expert Deliverability Advisory

High-Volume Sending or Deliverability Challenges?

Whether you are migrating 500,000+ monthly emails, configuring dedicated IP pools with custom warming schedules, or resolving spam folder placement, our email delivery engineers are here to assist.