officegest/laravel-officegest-email

1.0.3 2022-06-01 11:39 UTC

This package is auto-updated.

Last update: 2024-09-29 06:03:20 UTC


README

这是一个使用 officegest 发送电子邮件的 Laravel 扩展包。

安装

composer require officegest/officegest-send-email

Laravel < 8.0 需要将 ServiceProvider 添加到您的 config/app.php

OfficegestEmail\OfficegestEmailServiceProvider::class,

如果您需要发布此包的配置文件。这将添加 config/officegest-email.php 文件,您可以在其中配置此包。

$ php artisan vendor:publish --provider="OfficegestEmail\OfficegestEmailServiceProvider" --tag=config

您需要添加以下变量到您的 .env 文件中

OFFICEGEST_EMAIL_ACTIVE=true
OFFICEGEST_EMAIL_URL="your_officegest_url"
OFFICEGEST_EMAIL_USER="your_user"
OFFICEGEST_EMAIL_KEY="your_api_key"

使用

函数 OfficegestSms->send()

参数:string $phone_number, string $text

Screenshot

安全性

如果您发现任何安全相关的问题,请通过电子邮件 suporte@guisoft.net 或使用此仓库的问题功能。

鸣谢