CONSOLE
Loading
Send transactional emails from your terminal, CI/CD pipelines, or serverless workers using standard cURL commands over HTTPS port 443.
Sending emails via cURL and the HTTPS REST API eliminates the overhead of managing raw TCP SMTP sockets and local MTA daemons. With a single HTTP POST request containing a Bearer token, JSON recipient payload, and HTML body, developers achieve sub-second email dispatch suitable for CI/CD pipelines, cron jobs, and microservices over port 443.
Execute this cURL command directly in your macOS, Linux, or Windows WSL terminal to dispatch a transactional message:
Your payment of $49.00 was successfully processed.
" }'The API responds with an immediate JSON confirmation payload:
Include PDF receipts, invoices, or log files by base64-encoding them in the attachments array:
Please find attached your PDF invoice.
", "attachments": [ { "filename": "invoice.pdf", "content": "'"$ATTACHMENT_DATA"'", "content_type": "application/pdf" } ] }'Wrap cURL commands in a robust shell script for automated server monitoring and backups:
The HTTPS REST API operates over port 443, bypassing ISP port 25/587 firewall blocks. It is stateless, faster for serverless environments (like AWS Lambda and Cloudflare Workers), and returns structured JSON responses with immediate message tracking IDs.
Yes. Photon Console accepts base64-encoded file strings in the attachments JSON array, including filename and MIME content_type specifications.
Include an HTTP Authorization header formatted as 'Authorization: Bearer YOUR_API_KEY' with Content-Type: application/json.
Get your instant API keys, explore our interactive cURL and SDK sandbox, and send 10,000 free transactional emails every month.
Trademark Notice & Nominative Fair Use: All third-party trademarks, logos, and service marks (SendGrid®, Mailgun®, Amazon SES®, Postmark®, Resend®, Brevo®, SMTP2Go®, SparkPost®) are property of their respective owners and used under 15 U.S.C. § 1115(b)(4).
Photon Console is independent and not affiliated with or endorsed by these providers. Pricing and plan details compiled from public sources as of November 2026. Read full legal disclaimer →