itreza7/mailing 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

itreza7/mailing

Composer 安装命令:

composer require itreza7/mailing

包简介

Perfect Laravel email tools for development projects

README 文档

README

Larateam Mailing Assistant for laravel

How to install

  • Run this command for adding to composer
composer require itreza7/mailing
  • Run this command for modify default language files
php artisan vendor:publish --provider="Larateam\Mailing\Providers\AppServiceProvider"

Facade Methods

If you want this email to be transferred to the queue and sent using the cronjob, run this method

make_queue()

This command adds a bold line to the beginning of the email, you can use it to greet and ....

greeting($greeting)

Use this command to add a line of text or HTML code to an email.

line($line)

Use this command if you want to put a button in your email.

action($text, $url, $color = 'primary', $add_to_footer = true)

Add this command to change the template. Template number 1 is set by default.

template($template)

You can use this command to render the email, this returns an object of following class

\Larateam\Mailing\Mails\LTMailable extends \Illuminate\Mail\Mailable
render()

Of course, a method for sending emails have also been added to the mentioned class.

confirm()

Example

(new LTMail())->greeting('Reza')
    ->line('Hi')
    ->action('Google', 'https://google.com', 'red')
    ->line('Hi')
    ->render()
    ->to('itreza7@gmail.com')
    ->subject('Hi Reza')
    ->confirm();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-12-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固