Self-Hosted PHP Email MarketingSelf-Hosted PHP Email Marketing
Self-hosted PHP email marketing suite: drag-drop template builder, SMTP/API/direct sending, full analytics. Recently UpdatedSelf-Hosted PHP Email Marketing
Self-hosted PHP email marketing suite: drag-drop template builder, SMTP/API/direct sending, full ...
Overview
Mailiva Pro is a complete, self-hosted email marketing platform built in
plain PHP and MySQL — no Composer, no Laravel, no framework lock-in. Install
it on any standard shared hosting account in minutes and run your own
newsletter operation without paying a monthly per-subscriber fee to
Mailchimp, Brevo, or anyone else.
Design campaigns visually with a real drag-and-drop email builder, manage
subscribers and lists, send through your own SMTP account, a transactional
API, or PHP's built-in mail function with zero configuration, and track
every open, click, bounce, and unsubscribe — all from one clean, modern
admin panel built on Bootstrap 5.
Everything runs through a throttled, cron-driven send queue, so sending to
thousands of subscribers never times out a web request or gets your account
rate-limited. Bounce and spam-complaint handling is wired directly into
SendGrid, Mailgun, and Brevo's webhooks, so your sender reputation is
protected automatically instead of guessing from raw SMTP error text.
You own the code, the data, and the subscriber list — no recurring platform
fees, ever. Buyers bring their own SMTP account or API key: nothing is
hardcoded to a specific provider, so there's no shared sending
infrastructure and no usage limits from us.
https://a2zwebhelp.com/demo/ma...
Username: [email protected]
Password: manager123
Features
Drag & Drop Email Builder
- Real drag-and-drop canvas: drag blocks in, reorder by dragging, click any block to edit its content and style in a side panel
- 8 block types: Heading, Text, Image, Button, Divider, Spacer, 2 Columns, Social Icons, and a Footer block with a built-in unsubscribe link
- Undo/redo (Ctrl+Z / Ctrl+Y), desktop/mobile preview toggle, live preview modal, and a raw HTML view
- Compiles to email-safe, table-based HTML with inline styles — the layout approach that actually renders correctly in Outlook, Gmail, and Apple Mail, unlike plain divs or flexbox
- A second, simpler rich-text editor (with an HTML code-view toggle) is also included for quick edits
Subscriber Management
- Add subscribers manually or import via CSV with a visual column-mapping step
- Organize subscribers into unlimited lists
- Single or double opt-in per list, with an automatic confirmation page
- One-click unsubscribe with `List-Unsubscribe` header support (RFC 8058) works with Gmail's and Outlook's built-in one-click unsubscribe button
- Full per-subscriber activity timeline: every open, click, bounce, and campaign received, in one view
- Automatic bounce tracking with configurable auto-suppression after repeated failures
Campaign Sending
- Send via your own SMTP account (PHPMailer under the hood), a transactional API (SendGrid, Mailgun, or Brevo), or direct PHP Mail with no SMTP/API setup at all — switchable per campaign
- Send a test email before committing to the full list
- Schedule campaigns for later, send immediately, or duplicate any campaign as a fresh draft
- Segment sends by list and by tag
- Built-in A/B subject-line testing with automatic winner selection based on open or click rate
- One-click "resend to non-openers" — target only the subscribers who didn't open the original send, with a fresh subject line
Tracking & Reporting
- Open tracking and click tracking on every campaign, no third-party script required
- Per-campaign dashboard: delivered, open rate, click rate, click-to-open rate, unsubscribes, bounces
- Top-clicked-links report and A/B variant breakdown per campaign
- Global dashboard with a performance trend chart and recent campaign stats at a glance
Deliverability & Compliance
- Webhook-based bounce and spam-complaint handling for SendGrid, Mailgun, and Brevo - protected by a per-install secret key, with Mailgun signature verification
- Soft-bounce auto-suppression after repeated delivery failures
Built for Real Hosting
- Cron-driven send queue with a configurable throttle (emails/minute) - protects your SMTP/API account from rate-limit blocks and never times out a page load, even on large lists
- One-click web installer - enter your database details and admin account, and you're done
- No Composer, no Node build step, no framework - deploy by uploading files
- Clean, documented PDO-based codebase built on Bootstrap 5.3, easy to extend
Requirements
- PHP 7.4 or higher, with PDO MySQL and cURL extensions (works on virtually any shared hosting plan)
- MySQL 5.7+ or MariaDB 10.2+
- Ability to schedule a cron job (standard on cPanel and most hosts)
- An SMTP account or an API key from SendGrid, Mailgun, or Brevo (optional - the direct PHP Mail send mode needs neither)
- A modern browser for the admin panel (Chrome, Firefox, Edge, Safari)
Instructions
- Upload the full package to your hosting account.
- Create a MySQL database (and a database user) in your hosting control panel.
- Run the installer - visit `https://yourdomain.com/mailiva-pro/install/` in your browser and fill in your database details and admin account. This creates every table, generates a secure webhook secret, and writes your configuration file automatically - no manual file editing.
- Delete the `/install/` folder once setup is complete (the installer reminds you to do this)
- Add your sending credentials - go to Settings and enter your SMTP details or an API key, or skip this step entirely and use the direct PHP Mail option.
- Connect bounce webhooks (optional but recommended) - if you're using SendGrid, Mailgun, or Brevo, copy the webhook URLs shown on the Settings page into your provider's dashboard so bounces and spam complaints are handled automatically.
- Set up the cron job - add one line to your hosting control panel's cron manager
* * * * * php /home/yourusername/public_html/mailiva-pro/cron/send_campaigns.php - Log in at `/admin/login.php` and you're ready — create a list, import or add subscribers, design a campaign with the drag-and-drop builder, and send.
Full setup details, folder structure, and upgrade instructions are included
in the bundled
Other items by this author
| Category | Scripts & Code / PHP Scripts / Mail |
| First release | 11 July 2026 |
| Last update | 11 July 2026 |
| Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
| Files included | .php, .css, .html, Javascript .js |
| Tags | php newsletter, template builder, self-hosted, newsletter system, php email marketing |








