venturo / php-mailer
send email via php (with queue using rabbitmq)
1.0.0
2023-09-26 07:58 UTC
Requires
- php-amqplib/php-amqplib: ^3.5
- phpmailer/phpmailer: ^6.8
This package is not auto-updated.
Last update: 2024-04-24 08:53:06 UTC
README
Package Mailer Native PHP with RabbitMQ (asynchronous)
How to install Venturo PHP Mailer with RabbitMQ
- This library can be found on Packagist
- for an easier management of projects dependencies using Composer.
- Compressed archives of each release are available on GitLab.
composer require venturo/php-mailer
How to use Venturo Laravel FCM
use Venturo\PhpMailer\Mailer;
Send Mail (add to queue)
$mailer = new Mailer();
$data = [
'to' => [
'email' => 'ggmild55@gmail.com',
'name' => 'Adi Setyawan',
],
'subject' => 'Subject Name',
'body' => 'Halo Adi Setyawan, selamat datang di kelas venturo !!',
];
$send = $mailer->send($data);