junior-fernandes / email_notification
这是一个基于composer生成邮件通知的库
v1.0.1
2020-05-18 16:16 UTC
Requires
- phpmailer/phpmailer: 6.1.5
This package is auto-updated.
Last update: 2024-09-22 22:31:33 UTC
README
这是一个基于composer生成邮件通知的库
使用phpMailer通过电子邮件进行通知的库
此库具有使用phpmailer库发送电子邮件的功能。以简单的方式完成此操作对于任何系统都是至关重要的。
要安装此库,请运行以下命令
composer require junior-fernandes/email_notification
要使用此库,只需require composer自动加载,调用类,并调用方法即可
<?php require __DIR__.'/vendor/autoload.php'; use Notification\Email; $email = new Email(); $email->sendEmail("Subject", "Content", "address@email.com", "Address Name");
请注意,发送电子邮件的整个配置都使用魔术方法构建器!一旦在您的应用程序中调用构建器方法,您的系统将能够采取行动。
开发者
- Junior Fernandes - 本库的开发者
- [phpMailer] - 发送电子邮件的库
许可证
MIT