承接 advicepharmagroup/mailup 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

advicepharmagroup/mailup

最新稳定版本:1.4.0

Composer 安装命令:

composer require advicepharmagroup/mailup

包简介

Driver for sending emails via Mailup api

README 文档

README

Latest Version on Packagist Total Downloads

A Laravel package for sending emails using the MailUp service API.

Installation

You can install the package via composer:

composer require advicepharmagroup/mailup

Basic Usage

  • In the config/services.php file add the following lines of code:
...

'mailup' => [
    'host'       => env('MAILUP_HOST'),
    'user'       => env('MAILUP_USER'),
    'secret'     => env('MAILUP_SECRET'),
    'proxy'      => env('MAILUP_PROXY'),
    'force_html' => true,
],

...
  • In the config/mail.php file add the following lines of code:
'mailers' => [

    ...

    'mailup' => [
        'transport'  => 'mailup',
    ],
],
  • In your .env file:
...

MAILUP_HOST=HOST
MAILUP_USER=YOUR_USERNAME
MAILUP_SECRET=YOUR_SECRET

...
  • Example:
Route::get('/mail', function () {

    Mail::raw('Hello world', function (Message $message) {
        $message
            ->to('to@mail.com')
            ->from('from@mail.com');
    });

});

统计信息

  • 总下载量: 629
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-31