alberlan/notification

This is a library that uses composer as the basis for generating email notifications

dev-master 2019-06-09 22:23 UTC

This package is not auto-updated.

Last update: 2024-04-23 21:01:45 UTC


README

Send by email using a phpmailer library. Doing a decompilation action is essential for any system.

To do a library installation, run the following command:

composer require alberlanjp/composer_teste

To make use of the library, simply require the autoload of the composer, invoke and call the method:

<? php

require __DIR__ . '/librarys/autoload.php';

USE Notification\Email;

$mail = new Email(2, "mail.host.com", "your@email.com", "your pass", "smtp secure (tls/ssl)", "from@email.com", "From the name");

$email->sendEmail("Subject", "Content", "reply@email.com", "Repetition Name", "address@email.com", "Address Name");

Note that the entire email setting is being used by the magic method builder! Once the builder is invoked within your application, your system will be able to execute the shots.

Developers

  • [Alberlan] - Developer of this library!
  • phpMailer - Lib to send email

License

MIT