juniorcorpse / notifytomail
This is a library that uses composer as the basis for generating email notifications
V1.0.1
2020-08-02 19:19 UTC
Requires
- php: ^7.2
- phpmailer/phpmailer: ^6.1.6
This package is auto-updated.
Last update: 2025-06-23 00:36:26 UTC
README
This is a library that uses composer as the basis for generating email notifications
VocĂȘ pode saber mais clicando aqui.
Email Notification Library using phpMailer
Developing
This library has the function to send email using phpmailer library. Doing this uncomplicated action is essential for any system.
To install the library, run the following command:
composer require juniorcorpse/notifytomail
To make use of the library, simply require composer autoload, invoke the class, and call the method:
<? php require __DIR__.'/vendor/autoload.php'; use JuniorCorpse\NotifyToMail\Email; $email = new Email( 2, "mail.host.com", "your@email.com", "your-pass", "smtp secure (tls / ssl)", "port (587)"); $email->boot( "SUbject" "<p>"Content"</b></p>", "reply@email.com", "Replay Name" )->sendEmail("address@email.com", "Address Name");
Note that all email sending setup is using the magic builder method! Once you invoke the builder method within your application, your system will be able to perform the triggers.
Developers
- Jr Souza - Developer of this library and tutor of the Composer in Practice course!
- Arthwoks - Official website software
- phpMailer - Lib to send Email
License
MIT
ArthWorks!