onethirtyone/aws-s3-mime-handler 问题修复 & 功能扩展

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

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

onethirtyone/aws-s3-mime-handler

Composer 安装命令:

composer require onethirtyone/aws-s3-mime-handler

包简介

A Laravel Package to parse AWS SES messages from an S3 Bucket

README 文档

README

Build Status StyleCI

Fetch and parse MIME messages from your Amazon S3 bucket.

Installation

Require the package with composer.

composer require onethirtyone/aws-s3-mime-handler

You'll also need to make sure your AWS environment variables are set

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_BUCKET=

Usage

The MessageCollector facade will return a collection of OneThirtyOne\Mime\Message instances. Each of these instances is a fully parsed MIME message from your bucket. You can access the properties:

MessageCollector::fromBucket()->each(function ($message) {
    $message->id;    // The message file name
    $message->to;    // Message recipient
    $message->from; // Message Sender
    $message->subject;  // Message Subject
    $message->body;  // The body of the message (plain text)
});

You can delete a message by calling the delete() method on a message object

$message = MessageCollector::fromBucket()->first();

$message->delete();

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change

Please make sure to update tests as appropriate.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固