DOCUMENTATION
INSTALLATION GUIDE

Get Pitch Mailer running on your own hosting.

No coding required, anywhere in this guide. We walk through every step in plain language, from uploading your files to sending your first email campaign and your first push notification. Set aside about 30 to 40 minutes, and take it one step at a time. There is no need to rush.

Before You Start

Make sure you have these five things ready. All of them are things your hosting provider already gives you, so there is nothing extra to buy.

cPanel hosting with PHP 8.0 or newer and a MySQL database. This is standard on almost any shared hosting plan, even the cheapest ones.
A domain or subdomain to install it on, for example mail.yoursite.com, or your main domain if you prefer.
Your license key, sent to you after purchase. Keep it private. It activates your one copy of Pitch Mailer.
The file pitch-sql.sql, also included in your download. This is what builds your database in Step 3, one click to import, nothing to copy or paste.
An email account to send from, such as your own hosting mailbox, or a service like Amazon SES if you plan to send a large amount of email.
The ability to add cron jobs, which just means scheduled tasks. Nearly every hosting account allows this, and later in this guide, Pitch Mailer builds the exact commands for you, so you never have to write one yourself.
Tip Everything below is done through cPanel's File Manager and phpMyAdmin, the same tools you would use to install any website software. If you have never used them before, do not worry, each step tells you exactly where to click.
1

Upload Your Files

Get the Pitch Mailer files onto your server.

  1. Log into cPanel and open File Manager.
  2. If you are installing on a subdomain, create it first under Domains → Create A New Domain, then navigate into that subdomain's folder. Otherwise, navigate to public_html.
  3. Click Upload and select the pitch-mailer.zip file you received.
  4. Once it finishes uploading, right click it and choose Extract.
  5. Confirm the extracted files land directly inside your domain's folder. You should see folders named admin, config, includes, cron, push, and others sitting directly inside, not wrapped inside one extra folder.
If it lands in an extra subfolder select everything inside that inner folder, use File Manager's Move option to bring it up one level, then delete the now empty folder and the zip file.
2

Create Your Database

Pitch Mailer needs its own MySQL database to store your contacts, campaigns, push subscribers, and settings.

  1. In cPanel, open MySQL® Databases.
  2. Under "Create New Database," type a name, for example mailer, and click Create Database. cPanel will likely add a prefix automatically, so note the full name it shows you.
  3. Scroll to "MySQL Users → Add New User." Create a username and a strong password. Use the Password Generator if you like, and save the password somewhere safe right away.
  4. Scroll to "Add User to Database," select the user and the database you just made, click Add, then check ALL PRIVILEGES and click Make Changes.
  5. Write down these three things, you will need them in the next step: Database Name, Database Username, Database Password. The host is almost always localhost.
3

Import the Database Structure

One file builds every table Pitch Mailer needs inside your new, empty database, and it also creates your first login automatically, so you will not need to touch any file to set that up.

  1. Locate the file called pitch-sql.sql, included in your download alongside your license key. You will not upload this to your website, only to phpMyAdmin, in the next steps.
  2. In cPanel, open phpMyAdmin.
  3. Click your new database name on the left side of the screen.
  4. Click the Import tab near the top, not the SQL tab.
  5. Click Choose File and select pitch-sql.sql from your computer.
  6. Leave every other option on this screen at its default setting, and click Go at the bottom.
Tip Once it finishes, look at the table list on the left side of phpMyAdmin, you should now see 22 tables sitting inside your database. This same file quietly creates your first login too, using the default details covered in the next few steps.
This file is tiny. It only builds empty tables and one starter login, there is no bulk data inside it, so it will import in well under a second regardless of your hosting's upload limits.
4

Connect the App to Your Database

Tell Pitch Mailer how to reach the database you just set up. This is the only place you fill in your own details inside a file, and it is exactly four lines.

  1. In File Manager, open the config folder.
  2. Right click db.php and choose Edit.
  3. Replace the four values below with your real database details from Step 2, keeping the quote marks exactly as they are.
config/db.php
define('DB_HOST', 'localhost');
define('DB_NAME', 'your_db_name');
define('DB_USER', 'your_db_username');
define('DB_PASS', 'your-real-password-here');
Only change these four lines. Do not touch anything else in the file. Leave the rest exactly as it is, then click Save Changes.
5

Set Your Site Address

This small edit is easy to miss, but it matters. It is what makes links, tracking, scheduling, and push notifications all work correctly.

  1. Still inside the config folder, open app.php and constants.php for editing.
  2. Find the line that starts with define('BASE_URL', ...) and replace the web address inside it with your own domain. This must be the exact address people will type to reach your installation, including https://.
config/app.php
define('BASE_URL', 'https://mail.yoursite.com');

Save the file when you are done. That is the last file you will need to open for the rest of this guide.

6

Log In and Activate Your License

Your account already exists. There is nothing to create, run, or delete. You simply log in with the default details and activate your copy.

  1. Visit https://yourdomain.com/admin/login.php in your browser.
  2. Log in using the default account shown below.
Usernameadmin
PasswordPass234@
  1. You will be taken straight to an activation screen. This happens automatically the first time you log in.
  2. Type or paste your real license key exactly as it was given to you, then click Activate.
  3. Within a couple of seconds, you should land inside your real dashboard.
One license, one domain. Your key activates on the first domain you use it on. If you ever need to move it to a different domain, you can do that yourself from inside the app later, or contact us for help.
Change this password soon. The default username and password above are written in this public guide, so anyone who reads it knows them too. Step 9 below shows you exactly how to change them in under a minute. Please do not skip it.
7

Set Up Automatic Sending

A cron job is simply a scheduled task. It is how your hosting checks, once every minute, whether any emails or push notifications are waiting to go out, and sends them, even while you are not logged in or your computer is switched off. Without this step, nothing will ever actually send.

  1. Log in to your Pitch Mailer dashboard, then click Cron Setup near the bottom of the left sidebar.
  2. This page already knows your real server path, so it builds seven complete, ready to use commands for you. You do not need to find, guess, or type any file path yourself.
  3. In a separate browser tab, open cPanel and go to Cron Jobs.
  4. For each of the seven commands shown on the Cron Setup page, do the following: under "Add New Cron Job," choose Once Per Minute as the schedule, click the Copy button next to that command in Pitch Mailer, paste it into the Command box in cPanel, then click Add New Cron Job.
  5. Repeat this until all seven are added. You should end up with seven cron jobs listed in cPanel, all set to run once per minute.
What each one does, in plain words. Two of them send your email campaigns and fire scheduled ones on time. Two more safely prepare very large email campaigns and very large contact imports in the background, so nothing ever crashes or times out. The remaining three do the exact same three jobs, but for push notifications instead of email. You need all seven for the full app to work correctly.
If your host will not allow "once per minute" some hosting providers only allow a task to run every five or ten minutes. If that happens to you, scroll down on the Cron Setup page to the section called "Alternative: URL Based Triggering." It gives you seven web addresses instead, and a free outside service can visit each one every minute for you. The result is the same, this is just a second way to reach it, for hosts that block the first way.
8

Connect Your Email Sending

This is the step that lets Pitch Mailer actually send an email out into the world.

  1. In the sidebar, click SMTP Providers.
  2. Click Add Provider and fill in your email account's sending details. Your host or email provider, for example your hosting mailbox or Amazon SES, will already have these details for you.
  3. Set the From Email Address to exactly match the mailbox username you are using. Most mail servers reject an email that claims to be from a different address than the one it logged in as.
  4. Set a Daily Sending Limit. Start low, for example 50 to 100 emails a day, and raise it slowly over your first few weeks.
  5. Go to Settings and set your Max per Minute, Max per Hour, and Max per Day, plus the pause between each email. Again, start low.
Do not send to your whole list on day one. Sending a large amount of email all at once from a brand new setup is the fastest way to get flagged as spam. Start small and increase gradually. This is exactly why the pace controls in Settings exist.
9

Secure Your Account

This step takes about one minute, and it genuinely matters. Right now you are logged in with a default username and password that anyone reading this guide also knows. Let us change that now, before you forget.

  1. In the sidebar, click Settings.
  2. Find the card called Account Settings near the top of the page.
  3. Type in a new username and a new email address of your choosing.
  4. Type in a new, strong password, and type it again to confirm it.
  5. In the field marked Current Password, type Pass234@, since that is still your current password at this point.
  6. Click Update Account.

From this point forward, log in using your new username and password. The old default details will no longer work.

10

Turn On Push Notifications

This step is optional, but it only takes a few minutes and it unlocks a second way to reach people, straight on their phone or computer screen. Skip this for now if you only want email today, you can always come back to it later.

  1. In the sidebar, under the "Push Notifications" heading, click Push Settings.
  2. Click the button labelled Generate VAPID Keys. This is simply the technical name for your push notification signing keys. You do not need to understand what that means, just click the button once. You should see a green message confirming your keys are ready.
  3. While you are on this page, fill in a real contact email under "Contact Info." This is required by the push notification standard, in case a browser company ever needs to reach you about how your keys are being used.
  4. Click Save Push Settings.
  5. Now click Push Lists in the sidebar, then click Add Push List. Give it a name, for example "Main Blog," and type in the domain of the website you want to collect subscribers from.
  6. Click Get Install Code next to the list you just created.
  7. Download the small file shown on that page, and upload it to the very root of that website, so it is reachable at exactly https://yourwebsite.com/push-worker.js, not inside any subfolder.
  8. Copy the short piece of code shown underneath, and paste it into your website, ideally right before the closing </body> tag, and ideally behind a button rather than firing the moment the page loads. A visitor who clicks that button and taps Allow becomes a subscriber automatically, right inside your Pitch Mailer dashboard.
No extra cron jobs needed. The seven cron jobs you already added in Step 7 include everything push notifications need to send. There is nothing further to set up on that front.
You can repeat this for as many websites as you like. Each one gets its own name, its own file, its own snippet, and its own list of subscribers, all sending from this one Pitch Mailer login.
11

Protect Your Sender Reputation

This step is optional, and it only matters if you send email through Amazon SES or Mailgun. Skip it entirely if you are only using a regular cPanel mailbox, since a plain mailbox has no way to report a bounce back to any software at all.

Sometimes an email address stops working, or someone marks your message as spam. If nothing ever tells Pitch Mailer this happened, you could keep emailing that same address on every future campaign, which quietly damages your sender reputation over time. This step closes that gap, automatically, the moment it happens.

  1. In the sidebar, click Bounce Handling.
  2. If you use Amazon SES, follow the three steps shown under the Amazon SES card on that page, this connects AWS's own notification system to your Pitch Mailer install.
  3. If you use Mailgun, follow the two steps shown under the Mailgun card instead, then paste your Mailgun signing key into the field provided and click Save.
What happens automatically once this is set up. A genuine hard bounce or spam complaint instantly stops that address from ever receiving another campaign, and it shows up correctly in your Contacts and Suppression List pages, no manual work needed on your end, ever again.
12

Add Custom Fields

This step is optional. Custom fields let you store extra information about a contact beyond the basics, and use that information directly inside a campaign.

  1. In the sidebar, click Custom Fields.
  2. Click Add Custom Field, give it a label, for example "Company Size," and choose a type, Text, Number, or Date.
  3. Save it. It now appears as a normal input the next time you add or edit a contact.
  4. To use it in a campaign, type the merge tag shown next to the field, for example {{custom.company_size}}, anywhere in your email body. It gets replaced with each contact's real value the moment the campaign sends.
Nothing is lost if you delete a field later. The information already saved on your contacts stays in place, only the input on the Add and Edit forms disappears.
13

Add Team Members

This step is optional, and only matters if more than one person needs to log in. Every account is either an Admin, with full access to everything, or a Team member, who only sees and can use exactly the areas you choose.

  1. In the sidebar, click Manage Users. Only Admin accounts can see this page.
  2. Click Add User, fill in a username, email, and password for them.
  3. Choose their role. If you choose Team, a list of checkboxes appears, tick exactly which areas they should be able to reach, for example SMTP Providers or Settings.
  4. Save. They can now log in with their own username and password, and their sidebar will only show what you granted them.
You can change this anytime. Come back to Manage Users whenever you like and add or remove access for anyone, immediately, no need to recreate their account.
14

Add a Signup Widget

This step is optional. A signup widget is a small form you can drop onto any website you already own, no separate landing page needed, either sitting inline on the page or appearing as a popup after a short delay.

  1. In the sidebar, click Signup Widgets, then click Add Widget.
  2. Give it a name and the website it will live on, both just for your own reference, then choose which list new signups should join.
  3. Choose Inline or Popup, then fill in the headline, description, and button text you want visitors to see.
  4. Decide what happens right after someone signs up, either a short thank you message shown on the page, or a redirect to a URL of your choice.
  5. If you want, turn on the automatic welcome email and fill in its subject and body. Leave it off if you would rather just add them to the list quietly.
  6. Save, then click Install Code next to your new widget, and paste the single line shown onto your website exactly as described on that page.
No extra cron jobs needed. Signup widgets use the same seven cron jobs you already set up in Step 7. There is nothing further to configure for them to work.

Using Nginx or CloudPanel

Skip this whole section if your hosting uses cPanel, which is what the rest of this guide assumes, and how most buyers will run Pitch Mailer. Read this only if your server uses Nginx instead, for example through CloudPanel or a similar modern control panel.

Throughout this guide, several folders are protected by a small file called .htaccess. This is how cPanel's underlying web server, called Apache, stops outsiders from directly opening sensitive files, such as your database settings or your error logs. Nginx works differently, and it does not read .htaccess files at all, so those protections are quietly skipped unless you add an equivalent yourself.

You are not unprotected in the meantime. Pitch Mailer already has a second layer of protection built directly into its own code, so your database settings stay safe on Nginx too, without this step. What this section adds is a further layer specifically for plain files, such as your error log, which the code level protection cannot reach on its own, since Nginx can hand those files straight to a visitor without ever running any of Pitch Mailer's code at all.
  1. Log into CloudPanel, or whichever control panel manages your Nginx server.
  2. Go to Sites, then click on the site you installed Pitch Mailer on.
  3. Click Vhost Editor.
  4. Paste the block below inside the main server { } section for your site, the one handling secure traffic on port 443. If you are not sure which one that is, CloudPanel labels this clearly inside the editor.
  5. Click Save. CloudPanel checks the configuration for mistakes before applying it, so if something is not right, it will tell you plainly rather than take your site down.
Add inside your Nginx server block
location ~ ^/(config|includes|cron|libraries|logs|uploads)/ {
    deny all;
}

location ~ \.(log|sql|env)$ {
    deny all;
}

add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;

autoindex off;

This deliberately does not block the admin, push, tracking, or assets folders, since those genuinely need to stay reachable from a browser for the app to work correctly.

Not sure if this applies to you? Ask your hosting provider whether your server runs Apache or Nginx, or simply check whether they use the exact word "cPanel" to describe their control panel. If they do, you very likely do not need anything on this page at all.

Quick Tour

A short, plain summary of every page in your sidebar.

Email Marketing

Dashboard

Your delivery rate, open rate, and click rate across every campaign, at a glance.

Contacts

Add people one at a time, or import a file with thousands of them at once. Search and filter anytime.

Lists

Group your contacts however makes sense to you, a newsletter list, a customer list, anything at all.

Campaigns

Write an email, pick a list, and send it now or schedule it for later. Pause, resume, or duplicate anytime.

Segments

Instantly see who opened, who clicked, who bounced, or who never responded to any campaign.

Landing Pages

Build a lead capture page that automatically emails a free download to anyone who signs up.

Analytics

Deeper charts across all your email campaigns, including the best time of day to send.

SMTP Providers

Connect one or more sending accounts, and let Pitch Mailer rotate between them automatically.

Settings

Your login details, sending pace controls, timezone, and the list of email domains your lead pages accept.

Cron Setup

The exact copy and paste commands your hosting needs for automatic sending, built just for your server.

Push Notifications

Push Campaigns

Write a notification and send it to everyone, one list, or a specific country, now or on a schedule.

Push Subscribers

Everyone who has allowed notifications on any of your connected websites, searchable and filterable.

Push Lists

Every website you have connected, each with its own install code and its own subscriber count.

Push Analytics

How many were sent, delivered, and clicked, both overall and for any single campaign.

Push Settings

Your signing keys, contact email, and how fast push notifications are allowed to send.

Troubleshooting

The most common snags, and the fix for each one.

I cannot log in

If this is your first time logging in, make sure you are typing the default details exactly as shown in Step 6, username admin and password Pass234@, with the capital letters exactly as written. If you already changed these in Step 9 and cannot remember your new ones, see "I forgot my password" below.

I forgot my password

Open phpMyAdmin, select your database, and run this in the SQL tab. It resets the password straight back to the original default, so you can log in again and set a new one from Settings.

Reset password to default
UPDATE admin_users SET password_hash = '$2b$10$dcENwv.hqcs6AVWaaFn90e1YcBUvz6CTr7lDz0kdzF/.PdRxZulLG' WHERE username = 'admin';

Note that this only works if your username is still admin. If you changed your username too in Step 9 and forgot it, message us on WhatsApp and we will help you look it up.

Emails are not sending

Check these in order. First, confirm all seven cron jobs from Step 7 are listed in cPanel exactly as the Cron Setup page showed them. Second, confirm your SMTP Provider's "From Email" exactly matches its username. Third, confirm your Settings pace limits are not accidentally set to zero.

Push notifications are not showing up

Check these in order. First, confirm you clicked "Generate VAPID Keys" in Push Settings. Second, confirm the small file was uploaded to the exact root of your website, not inside a subfolder. Third, confirm the code snippet is actually present on the page, and that you personally tapped Allow when your browser asked. Fourth, confirm the same seven cron jobs from Step 7 are still running, since three of them are what actually deliver push notifications.

I see a blank white page

This means a technical error happened behind the scenes. In File Manager, open logs/php_errors.log to see the real error message, and send it to us on WhatsApp if you are not sure what it means.

My license will not activate

Double check that the key was copied exactly, with no extra spaces before or after it. Also confirm that BASE_URL from Step 5 exactly matches the domain you are visiting in your browser, including whether it has "www" at the front or not.

Getting Help

Your purchase includes 3 months of support for product issues, meaning bugs or something not working as described. New feature requests are not included.

Stuck on a step?

Message us directly and we will help you get unstuck. Real replies, no ticket queue.

Chat on WhatsApp