therealstart / mailgun-sender
There is no license information available for the latest version (dev-master) of this package.
The Mailgun sender for small landing pages
dev-master
2019-06-21 11:01 UTC
Requires
- php: ^5.5 || ^7.0
- mailgun/mailgun-php: ^2.8
- php-http/guzzle6-adapter: ^1.1
- php-http/message: ^1.7
This package is not auto-updated.
Last update: 2024-04-21 05:46:52 UTC
README
This is TheRealStart Mailgun Sender wrapper to use on landing pages
Installation
Installing composer
To install Mailgun Sender, you will need to be using Composer in your project.
If you aren't using Composer yet, it's really simple! Here's how to install composer:
curl -sS https://getcomposer.org/installer | php
Installing TheRealStart Mailgun Sender package
Run the following command:
php composer.phar require therealstart/mailgun-sender:dev-master
Use TheRealStart Mailgun Sender in your code
require __DIR__ . '/vendor/autoload.php'; $sender = new MailSender\MailSender("{mailgun-key}", "{mailgun-domain}"); $sender->send("from@email.com", "to@email.com", "Subject", "Message Body");