承接 tigron/skeleton-file-email 相关项目开发

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

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

tigron/skeleton-file-email

Composer 安装命令:

composer require tigron/skeleton-file-email

包简介

Tigron Raw Email utilities

README 文档

README

Description

This library adds RAW email functionality for Skeleton\File\File objects

Installation

Installation via composer:

composer require tigron/skeleton-file-email

Howto

Get an email If the file is an email, a \Skeleton\File\Email\Email object is returned

$email = \Skeleton\File\File::get_by_id(1);

Persons involved in the email will be returned as \Skeleton\File\Email\Contact objects. A contact has the following structure:

Skeleton\File\Email\Contact Object
(
    [name] => Recipient1
    [email] => email@example.com
)

To retrieve the contacts, the following methods can be used

Get the From contact

$email->get_from();

Get the To contact(s)

$email->get_to(); // returns an array of Contact objects

Get the CC contact(s)

$email->get_cc(); // returns an array of Contact objects

Other information can be obtained via the following methods:

Get the subject

$email->get_subject();

Get the content The extra parameter requests a replacement of every cid reference by its base64-encoded content. This way the output can directly be shown in the browser.

$email->get_content($replace_inline_images = false);

Get the date

$email->get_date();

Has attachments

$email->has_attachments(); // true/false

Count attachments

$email->count_attachments();

Extract all attachments from the Email

$attachments = $file->extract_attachments(); // Each attachment is a \Skeleton\File\File object

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固