A lightweight PHP email API for client websites. Your website controls the complete email design, while SEND EMAIL DYNAMIC handles SMTP delivery, reply routing, security and reporting.

One controlled delivery layer between your website and your inboxes.
Custom enquiry_ui goes to the client.
Custom thankyou_ui goes to the user.
Your client website builds the actual HTML/CSS email UI and sends five fields to the API. The server delivers two emails and records the request for admin reporting.
The complete email HTML/CSS comes from the client website on each request.
Enquiry to the client and thank-you to the user from one API call.
Daily JSONL files provide readable audit logs without a DB dependency.
SMTP credentials stay server-side and are configured outside client requests.
A simple four-step delivery flow.
The client website creates both complete email HTML/CSS bodies.
Send subject, two addresses and the two UI bodies.
The fixed server SMTP account sends both emails with Reply-To routing.
Admin tools provide dashboard metrics, logs, CSV export and testing.
Keep branding and email UI inside each website while centralizing the delivery infrastructure in one secure PHP service.
Read API ContractOne POST request triggers the complete two-email workflow.
Client replies go to the user; user replies go to the client.
Daily JSONL logs power the dashboard without a database.
Bootstrap 5.3 and Bootstrap Icons with one light visual system.
No SMTP credentials, API key, client ID, or separate message field in the request.
{
"subject": "New Enquiry",
"user-email": "rahul@gmail.com",
"client-email": "client@example.com",
"enquiry_ui": "<FULL ENQUIRY EMAIL HTML/CSS>",
"thankyou_ui": "<FULL THANK-YOU EMAIL HTML/CSS>"
}Enquiry: To client · Reply-To user · Body = enquiry_ui
Thank You: To user · Reply-To client · Body = thankyou_ui
Security: dangerous executable tags, inline events and scriptable URLs are removed before delivery.
Logs: request metadata is stored in daily JSONL files; submitted HTML bodies are not duplicated into logs.
Open Full API Documentation