Published on 2020-01-21· Updated on 2023-09-06
Mautic is a very popular email marketing and lead management software that can be used to create customized email templates and email campaigns. Here are the detailed steps you need to follow to install Mautic on your Windows Server or on your Windows local machine.
The installation through setup wizard is really simple. You can just click on the Next button for all the steps until you reach Admin user settings. For setting up credentials follow these steps below.
Enter your preferred Admin credentials as specified in the screenshot below, these credentials will be used when logging in the Mautic user panel.
The email address you enter will be used for password resets.
Click on the Next button.
The second window will be for the domain name of your server.
Please set your accessible domain name here so you can access this panel through your server domain.
You can opt for your email provider between Gmail and Custom. For this tutorial please select Custom to continue.
The next setup window will be for setting up your SMTP credentials, so before you proceed to the next step you will need Pepipost SMTP credentials.
Follow these steps:
Please check the screenshot provided below for reference:
You will use these credentials to set up SMTP configuration in the next step
Now back at the Mautic installation window set the following parameters:
SMTP Host: smtp.pepipost.com
SMTP Port: 25 [or you can set the port to 587 if port 25 is blocked at your sever]
Secure connection: TLS
Username: Your_Pepipost_SMTP_username
Password: Your_Pepipost_SMTP_password
Re-enter: Re-enter your password
Click on Next
For the next two steps click on the Next button for each installation window.
After this, the installation of the Mautic stack will start, it would take some time to install everything so be patient with the installation.
After the installation, click on the Finish button this will open up your browser on the Mautic login panel.
This is how your dashboard will look after login.
Note:- If a process is already using the port 80 you will be prompted to add a new port for the Mautic instance to run. In this case, set a free port and with that, you will be opening your Mautic instance on the browser by <site-address>:specified_port_number.
For example www.domain.com:8081 or 122.133.144.155:8081
Scheduled tasks are nothing but a scheduler that runs the specified file path at a specified interval. Every action and updates done in the Mautic is mostly done by the Scheduled tasks running at regular intervals, If they are not set most of the Mautic's functionalities won't work.
Add the following Scheduled tasks
# Populates the segments with new contacts schtasks /create /sc hourly /st 00:15 /tn mauticCronJob01 /tr installdir/php/php installdir/apps/mautic/htdocs/app/console mautic:segments:update --env=prod /ru "System" # Updates campaign with contacts and credentials schtasks /create /sc hourly /st 00:20 /tn mauticCronJob02 /tr installdir/php/php installdir/apps/mautic/htdocs/app/console mautic:campaigns:update --env=prod /ru "System" # Runs the campaings schtasks /create /sc hourly /st 00:25 /tn mauticCronJob03 /tr installdir/php/php installdir/apps/mautic/htdocs/app/console mautic:campaigns:trigger --env=prod /ru "System" # Sends the emails in the email queue schtasks /create /sc hourly /st 00:35 /tn mauticCronJob04 /tr installdir/php/php installdir/apps/mautic/htdocs/app/console mautic:emails:send --env=prod /ru "System" # Runs the webhook schtasks /create /sc hourly /st 00:45 /tn mauticCronJob05 /tr installdir/php/php installdir/apps/mautic/htdocs/app/console mautic:webhooks:process --env=prod /ru "System"
Based on the Scheduled tasks set up, your contacts, campaigns, and emails will be triggered, you might want to change the time interval of all of these Scheduled tasks based on your requirements.
Press the Windows/flag button and search "Task scheduler".
Note: It is recommended that the Scheduled task doesn't run at the same time, so keep the tasks interval timings unique.
There are two steps for creating new contacts
1. Single contact creation
2. Bulk Upload email list
This will open the Campaign panel in which all the campaign status is represented in a graphical format in which you can track the emails that are being sent.
With this, your campaign is ready to send emails from your imported segment.
After some time as the Cron runs, you will be able to see the emails being populated in the dashboard.
You can check the progress of your campaign in the campaign panel.
By following the above-mentioned steps you are now ready to send emails through the Mautic platform. You are now able to upload an email list, create an email body, filter the email leads with segments and send emails using the Pepipost SMTP server.
Netcorecloud's toolkit is the solution to all your email problems.
Netcore connects & unifies your data across all sources, connects to your marketing channels and provides you with control over AI Powered automation and personalization.
Hitesh Pandey💻
Full Stack Developer, Pepipost
🥑 Developer Evangelist | 🥇Email Geek