bdereta/sendmail-be

Laravel Package for integrating Sendmail Backend API with Laravel Mailable

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:laravel-package

dev-master 2022-01-24 06:15 UTC

This package is auto-updated.

Last update: 2024-04-24 11:09:55 UTC


README

GCE Sendmail API integration package for Laravel

Laravel Mailable is the preferred method for sending emails. This package enables your Laravel instance to utilize API-sendmail-be with Laravel Mailable.

Requirements

  • Laravel >=8

Installation

  1. composer require bdereta/sendmail-be
  2. Add the following variables to local .env:

Note: MAIL_URL is optional because the production url is set as the default url in the package 'services' config. However, feel free to define QA or DEV url if you need to test your application in different environments.

Usage

  1. Create new Mailable within your Laravel project: php artisan make:mail ContactMail
  2. A boilerplate App\Mail\ContactMail class will be generated. For more information on how to write Mailable, visit Laravel official documentation