PHPackages                             owenoj/laravel-mailjet-notifier - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. owenoj/laravel-mailjet-notifier

ActivePlugin[Mail &amp; Notifications](/categories/mail)

owenoj/laravel-mailjet-notifier
===============================

Easily send Mailjet transactional email and sms with Laravel notifier.

00PHP

Since Aug 27Pushed 1y agoCompare

[ Source](https://github.com/Owen-oj/laravel-mailjet-notifier)[ Packagist](https://packagist.org/packages/owenoj/laravel-mailjet-notifier)[ RSS](/packages/owenoj-laravel-mailjet-notifier/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

laravel-mailjet-notifier
========================

[](#laravel-mailjet-notifier)

Easily send Mailjet transactional email and sms with Laravel notifier.

[![Latest Version](https://camo.githubusercontent.com/bde1107cdd1d65626601b8409a83e014ee81a149ae2ab112e0768e399116deec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7969656c6473747564696f2f6c61726176656c2d6d61696c6a65742d6e6f7469666965723f7374796c653d666c61742d737175617265)](https://github.com/yieldstudio/laravel-mailjet-notifier/releases)[![GitHub Workflow Status](https://camo.githubusercontent.com/6a296a13aa608b614d339d54c63e50d3d173c8f0cd60cd46d5ae01c76a73f870/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7969656c6473747564696f2f6c61726176656c2d6d61696c6a65742d6e6f7469666965722f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://github.com/yieldstudio/laravel-mailjet-notifier/actions/workflows/tests.yml)[![Total Downloads](https://camo.githubusercontent.com/9fc0bad878958b33e035e65d12a951101528cd457a6664db3cb6e83eb4f40994/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7969656c6473747564696f2f6c61726176656c2d6d61696c6a65742d6e6f7469666965723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yieldstudio/laravel-mailjet-notifier)

If you're just looking for a mailjet mail transport, check out [mailjet/laravel-mailjet](https://github.com/mailjet/laravel-mailjet)

> Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.

Installation
------------

[](#installation)

```
composer require yieldstudio/laravel-mailjet-notifier

```

Configure
---------

[](#configure)

Just define these environment variables:

```
MAILJET_APIKEY=
MAILJET_APISECRET=
MAILJET_SMSTOKEN=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=
MAILJET_SMS_SENDER=
MAILJET_DRY=true|false
```

Make sure that MAIL\_FROM\_ADDRESS is an authenticated email on Mailjet, otherwise your emails will not be sent by the Mailjet API.

MAILJET\_SMS\_SENDER should be between 3 and 11 characters in length, only alphanumeric characters are allowed.

When the dry mode is enabled, Mailjet API isn't called.

You can publish the configuration file with:

```
php artisan vendor:publish --provider="YieldStudio\LaravelMailjetNotifier\MailjetNotifierServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

### Send email

[](#send-email)

```
