Download the PHP package jumichica/jmail without Composer
On this page you can find all versions of the php package jumichica/jmail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jumichica/jmail
More information about jumichica/jmail
Files in jumichica/jmail
Download jumichica/jmail
More information about jumichica/jmail
Files in jumichica/jmail
Vendor jumichica
Package jmail
Short Description Micro library to send email notifications using different platforms like Mailgun, MailJet and others.
License Apache-2.0
Package jmail
Short Description Micro library to send email notifications using different platforms like Mailgun, MailJet and others.
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package jmail
JMail
Micro library to send email notifications using different platforms like Mailgun, MailJet and others.
Example with Mailgun
require_once (__DIR__."/../vendor/autoload.php");
use Jumichica\JMail;
$jmail= new JMail();
$jmail->credentials('[PRIVATE_API_KEY]', '[DOMAIN]', '[SENDER]',JMail::$MAILGUN,'[NAME_SENDER]');
$jmail->send('[EMAIL_TO]','Hello World!','My firts Email HTML','My first mail TEXT');
Example with MailJet
require_once (__DIR__."/../vendor/autoload.php");
use Jumichica\JMail;
$jmail= new JMail();
// Mensaje con MailJet
$jmail->credentials(array('[API_KEY]','[SECRET_API_KEY]'), '[DOMAIN]', '[SENDER]',JMail::$MAILJET,'[NAME_SENDER]');
$jmail->send('[EMAIL_TO]','Hello World!','My firts Email HTML','My first mail TEXT');
Example with PHPMailer
require_once (__DIR__."/../vendor/autoload.php");
use Jumichica\JMail;
$jmail= new JMail();
// Mensaje con PHPMailer
$jmail->credentials_mailer('[EMAIL_FROM]', '[EMAIL_FROM_PASSWORD]', '[NAME]', 'NAME_TO', 'SMTP SERVER');
$jmail->send('[EMAIL_TO]','Hello World!','My firts Email HTML','My first mail TEXT');
// If you need to set a opened action when the people read the email then use:
$jmail->send('[EMAIL_TO]','Hello World!','My firts Email HTML','My first mail TEXT', "", "[URL_LINK_TO_YOUR_SCRIPT_PHP]");
DEBUG activation
The last parameter con credentials method lect activate the debug, if you want. Let me show you a example:
// DEBUG False
$jmail->credentials_mailer('[EMAIL_FROM]', '[EMAIL_FROM_PASSWORD]', '[NAME]', 'NAME_TO', 'SMTP SERVER');
// DEBUG true
$jmail->credentials_mailer('[EMAIL_FROM]', '[EMAIL_FROM_PASSWORD]', '[NAME]', 'NAME_TO', 'SMTP SERVER', true);
Contributors
Edwin Ariza [email protected]
All versions of jmail with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
mailgun/mailgun-php Version ^3.0.0
kriswallsmith/buzz Version ^1.0
nyholm/psr7 Version ^1.1
mailjet/mailjet-apiv3-php Version ^1.4
phpmailer/phpmailer Version ^v6.5.4
mailgun/mailgun-php Version ^3.0.0
kriswallsmith/buzz Version ^1.0
nyholm/psr7 Version ^1.1
mailjet/mailjet-apiv3-php Version ^1.4
phpmailer/phpmailer Version ^v6.5.4
The package jumichica/jmail contains the following files
Loading the files please wait ....