Skip to content

Using Laravel Queue and Jobs for Email delivery - Laravel 8

Notifications You must be signed in to change notification settings

ardirannu/laravel-queue-email

Repository files navigation

Laravel Queue and Jobs for Email delivery

Using Laravel Queue and Jobs for Email delivery with Gmail SMTP Server

Installation

First clone this repository, install the dependencies, and setup your .env file.

git clone https://github.com/ardirannu/laravel-queue-email.git laravel-queue-email
composer install
cp .env.example .env

Then create the necessary database.

php artisan db
create database email-queue

And run the initial migrations and seeders.

php artisan migrate --seed

Setup SMTP Server.

MAIL_MAILER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=465
MAIL_USERNAME=your gmail adresss
MAIL_PASSWORD=your gmail password
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=admin@queue-tes.com
MAIL_FROM_NAME="${APP_NAME}"

💻 Built with

Technologies used in the project:

  • Laravel
  • SMTP server

Author

Ardianto Rannu

About

Using Laravel Queue and Jobs for Email delivery - Laravel 8

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages