Skip to content

Send Bulk Emails in one click by importing from excel sheet

License

Notifications You must be signed in to change notification settings

arafat-web/Bulk-Email-Sender

Repository files navigation

Icon Description

Bulk Email Sender

Total Issues License

Introduction

Bulk Email Sender is an open-source Laravel application designed to simplify the process of sending bulk emails using data from an Excel file. With this application, administrators can effortlessly import an Excel file, extract email addresses, and send personalized HTML emails to recipients. This documentation provides a step-by-step guide on how to set up the project and configure email settings.

Prerequisites

  • PHP 8.1 or higher
  • Composer
  • Laravel 9 or higher
  • MySQL or any other supported database system

Setup Instructions

Step 1: Clone the Repository

git clone https://github.com/arafat-web/bulk-email-sender.git
cd bulk-email-sender

Step 2: Install Dependencies

composer install

Step 3: Configure Environment Variables

Duplicate the .env.example file and rename it to .env. Update the following variables:

DB_CONNECTION=mysql
DB_HOST=your_database_host
DB_PORT=your_database_port
DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password

MAIL_DRIVER=smtp
MAIL_HOST=your_smtp_host
MAIL_PORT=your_smtp_port
MAIL_USERNAME=your_smtp_username
MAIL_PASSWORD=your_smtp_password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS[email protected]
MAIL_FROM_NAME="${APP_NAME}"

Step 4: Generate Application Key

php artisan key:generate

Step 5: Run Migrations and Seed Database

php artisan migrate --seed

Step 6: Start Queue

php artisan queue:listen

Step 6: Serve the Application

php artisan serve

Access the application in your browser at http://localhost:8000.

How to Use

1. One Time Sender

  1. Login to the admin panel.
    Email: [email protected]
    Password: 12345678
    
  2. Navigate to the "One Time Sender" section.
  3. Enter your email subject in the provided field.
  4. Design your email template using the textarea editor.
  5. Click the "Send" button.
  6. Wait a few minutes. Your emails will be sent one by one to the recipients.

Demo

Demo

Demo

Demo

Contributing

For any issues or inquiries, please open an issue on the Issues.
If you can help me by contributing. Please don't hesitate to open a Pull Request.
🎉 Thanks for reading! 🌟

Contact Me

Email Facbook LinkedIn Sololearn Website