Email marketing tool in Laravel and Vue JS

An email marketing tool is created in Laravel and Vue JS. It is a single-page application. It allows you to send bulk emails to a large group of people. The database used for this project is MySQL.

Demo:

https://emailmarketingtool.adnan-tech.com

How to use:

  1. Add your SMTP account
  2. Create a list
  3. Add subscribers to a list
  4. Create campaign
  5. Run campaign

1. Add your SMTP account

The first step is to add an SMTP account. You can add your hosting SMTP account or even your personal Gmail account as well. To add an SMTP account, you need to enter your hostname, usually, it is like this mail.yourdomain.com. But you need to visit your hosting cPanel and go to the “Email Accounts” to confirm.

Then you need to enter the “Display name“. This is the name that will be displayed to the recipients when you start sending emails through campaigns. And finally, the email and password of your email account. Your credentials are stored securely in our server and you can delete the SMTP account at any time and it will be deleted permanently (no trash can or backup).

Contact us to get help in this step.

Note: If you delete the SMTP account, all campaigns where that account is used, will be deleted as well.

2. Create a list

Then you need to create a list. In this list, you can add as many people as you want. You only need to enter the name of the list, for example, “USA Subscribers” etc. You can add multiple lists as well. Then while running the campaign, you can simply select the list and it will automatically send emails to all the users in that list.

3. Add subscribers in a list

Now that you have created a list, you can start adding subscribers to it. Adding a subscriber is super easy, simply enter the name and email of the person. Then select the list where he wanted to be added. You can add the same subscriber in multiple lists as well. There is no such restriction.

4. Create a campaign for email marketing

Creating a campaign is also super simple. You just need to enter the name of the campaign like “Black Friday Sales” etc. Then you need to write the content of the email that needs to be sent. The content of the email can be HTML too so you can use HTML tags and CSS properties as well.

Then you need to select the list for that campaign. The campaign will send emails to all the subscribers that are added to that list. And finally, you need to select the SMTP account from whom the email should be sent. Since you might have multiple SMTP accounts like:

  • sales@yourwebsite.com
  • support@yourwebsite.com
  • info@yourwebsite.com
  • no-reply@yourwebsite.com

You can select the SMTP account of your choice to use as a “Sender” of that particular campaign.

5. Run an email marketing campaign

The final step is to run the campaign and sit and relax. You will see all your added campaigns with a status. We have 3 statuses for each campaign:

  • draft: The campaign is created and ready to start sending emails.
  • active: The campaign has been started and is sending emails to the selected list of subscribers. You can check every 30 minutes to check the progress.
  • done: The campaign has sent emails to all the subscribers added to that list.

Dynamic variables in email

Since in email marketing you will be sending emails in bulk, you might want to address each user differently. For example, it is better to have an email that starts with “Hello Mr. John” rather than just “Hello”. Personalizing your email has a higher chance of getting more sales.

Track each email

The email will be sent to a large number of people and the content of each email can be different like the recipient name etc. So you can see the content of each email sent to subscribers so you can know if your users have received the email correctly.

Send single email

Campaigns are used to send bulk emails, but sometimes you just want to send an email to a single person only. We have added a feature that allows you to do that. You can simply enter the name and email address of the recipient, and enter the subject and body of the email. Again the body of the email can be HTML too.

Email with attachments

When sending single emails, you can also attach multiple documents to them. The documents will be attached to the email and the recipient will be able to download it directly from their mail client, for example, Gmail, Outlook, Webmail, Thunderbird, etc.

Business model

If you buy this project, you can also make money from it. Just give a trial period of 3 days with all features to your users, after that you can charge per day. You can see the pricing from here, you can set the pricing as you desire. Check the below video to find out how the trial period works:

Google one-tap sign in and sign up

You can sign in or sign-up with your Google account with just one click. If the user’s account is not created, then it will be created automatically and the user will be logged-in. Otherwise, it will simply log in to the user.

Technical details

  1. Laravel 8
  2. MySQL
  3. Vue JS
  4. Materialize CSS
  5. PHPMailer
  6. Eloquent ORM

2 Replies to “Email marketing tool in Laravel and Vue JS”

Comments are closed.