定制 mattclements/adv-email 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mattclements/adv-email

Composer 安装命令:

composer require mattclements/adv-email

包简介

Forked from geekMail to add extra features. A standalone version of the CodeIgniter PHP Framework's Email library

README 文档

README

Forked from geekMail to add extra features A standalone version of the CodeIgniter PHP Framework's Email library

  • Version 1.0

This class is a standalone version of the Email library used in the CodeIgniter PHP Framework:

Most of the existing CodeIgniter documentation for the library should work, with the exception that the library won't be dynamically loaded from a CodeIgniter controller ($this->load->... and "=$this->email->from...):

Usage example:

<?php

require 'advEmail.php';

$advEmail = new advEmail();

$advEmail->setMailType('html');

$advEmail->from('noreply@mattclements.co.uk', 'Matt Clements');

$advEmail->to('matt@mattclements.co.uk');
//$advEmail->cc('matt@mattclements.co.uk');
//$advEmail->bcc('matt@mattclements.co.uk');

$advEmail->subject('Example subject');

$advEmail->message('Example message.');
$advEmail->set_alt_message('Text alternative email - manually set');

$advEmail->attach('/home/matt/file1.txt');
$advEmail->attach('/home/matt/file2.zip');

if (!$advEmail->send())
{
	$errors = $advEmail->getDebugger();
	print_r($errors);
}

Adapted by: Matt Clements matt@mattclements.co.uk http://www.mattclements.co.uk

GeekMail developed by: Willem van Zyl willem@geekology.co.za http://www.geekology.co.za/blog/

As with CodeIgniter itself, this code is free and Open Source, but EllisLab, Inc. (the creators of CodeIgniter) require that this license agreement be included in all adaptations:

http://codeigniter.com/user_guide/license.html

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-21