2017 © Pedro Peláez
 

yii-extension yii-mailer

YiiMailer is a mail extensions based on Yii Framework

image

tlikai/yii-mailer

YiiMailer is a mail extensions based on Yii Framework

  • Wednesday, May 15, 2013
  • by likai
  • Repository
  • 2 Watchers
  • 5 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

YiiMailer is a mail extensions based on Yii Framework

Requires

  • PHP >= 5
  • fsockopen function or configuration php mail

Configuration

'components' => array(
    'mailer' => array(
        // for smtp
        'class' => 'ext.mailer.SmtpMailer',
        'server' => 'smtp.163.com',
        'port' => '25',
        'username' => 'your username',
        'password' => 'your password',

        // for php mail
        'class' => 'ext.mailer.PhpMailer',
    ),
)

Usage

$to = array(
    'somemail@gmail.com',
);

// or

$to = 'somemail@gmail.com';

$subject = 'Hello Mailer';
$content = 'Some content';

Yii::app()->mailer->send($to, $subject, $content);

The Versions

15/05 2013

dev-master

9999999-dev

YiiMailer is a mail extensions based on Yii Framework

  Sources   Download

New BSD

The Requires

  • php >=5.1.0

 

email yii smtp

15/05 2013

v1.0

1.0.0.0

YiiMailer is a mail extensions based on Yii Framework

  Sources   Download

New BSD

The Requires

  • php >=5.1.0

 

email yii smtp