Skip to content

brunovlima/notification_email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Notification Library using phpMailer

This library is designed to send emails using the phpMailer library. Executing this action in an uncomplicated manner is essential for any system.

To install the library, run the following command:

composer require brunovlima/notification_email

To use the library, simply require the composer’s autoload, invoke the class, and call the method:

<?php

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

USE Notification\Email;

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

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

Note that the entire email sending configuration is using the magic constructor method! Once the constructor method is invoked within your application, your system will be ready to perform the dispatches.

Version 1.0.0 development 2024-04

Sender email settings: image

Recipient email settings: image

Developers

License

MIT Faça bom uso! [//]:# [Bruno Vieira]: mailto:brunoglobalnegocios@gmail.com [phpMailer]: https://github.com/brunovlima/notification_email [linkedin]: https://www.linkedin.com/in/li2/

About

This library is designed to send emails using the phpMailer library. Executing this action in an uncomplicated manner is essential for any system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published