alexandresys/notification

使用phpMailer的电子邮件通知库

v1.0.1 2019-08-28 23:00 UTC

This package is not auto-updated.

Last update: 2024-09-20 04:00:14 UTC


README

使用phpmailer库发送电子邮件。对任何系统进行反编译操作是至关重要的。

要安装库,请运行以下命令

composer require alexandresys/notification

要使用库,只需require composer的autoload,调用并调用方法

<? php

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

USE Notification \ Email;

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

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

注意,所有电子邮件设置都使用魔法构建方法!一旦你在你的应用程序中调用构建器,你的系统就能执行触发器。

开发者

  • [Gustavo Web] - 开发库和《Composer实践课程》教师!
  • [Emerson Alexandre] - Valesistem Ti的CEO和创始人
  • [Valesistem tecnologia] - 你的官方网站
  • phpMailer - 邮件库

许可

MIT

** 另一个UpInside培训课程,充分利用!**