juniorcorpse/notifytomail
Composer 安装命令:
composer require juniorcorpse/notifytomail
包简介
This is a library that uses composer as the basis for generating email notifications
README 文档
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!
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-02