ndlovu28/bpo_mailer

此软件包向CO3 BPO Web门户的联系人发送电子邮件通信

dev-master 2022-06-28 14:38 UTC

This package is auto-updated.

Last update: 2024-09-28 19:47:22 UTC


README

通过CO3向BPO网站门户的联系人发送电子邮件。

要求

  • PHP 7.4+
  • Composer

安装

要安装此软件包,请运行以下命令。

composer require ndlovu28/bpo_mailer

在config/app.php的提供者部分追加以下行以注册软件包

Ndlovu28\BpoMailer\Providers\BpoMailerProvider::class,

使用以下命令加载数据库

php artisan migrate

初始化

确保您的.env文件中具有以下密钥对

...

//The name of your applications template file
APP_TEMPLATE=taropa_account
//Version of BPO to use (Legacy: for older version | New: For the latest version)
BPO_VERSION=Legacy

BPO_URL=http://41.160.190.205:50000/bpowebportal/BPOWebPortal.svc
BPO_USER=bpo_user
BPO_PASS=xxxxxxxx

要安装所有要求并加载数据,请运行以下命令

php artisan bpomailer:install

用法

在您的应用程序运行后,请访问127.0.01:8000/bpo/send/,或者在服务器上部署后访问yourhost.co.za/bpo/send/