phpDocumentor mail
sender
[ class tree: mail ] [ index: mail ] [ all elements ]

Class: WindSmtpMail

Source Location: /mail/sender/WindSmtpMail.php

Class WindSmtpMail

Class Overview

Implements interfaces:

邮件发送

配置信息:

 $config = array(
 'host' => '',	主机
 'port' => '',	端口号
 'name' => '',
 'auth' => '',
 'user' => '',
 'password' => '',
 'timeout' => '', 超时时间,默认60秒
 )

Located in /mail/sender/WindSmtpMail.php [line 26]

WindModule
   |
   --WindSmtpMail
Author(s): Information Tags:
Version:  $Id: WindSmtpMail.php 3298 2012-01-06 12:48:26Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From WindModule

WindModule::$_config
WindModule::$_proxy
WindModule::$_typeValidation

Inherited From WindModule

WindModule::getConfig()
根据配置名取得相应的配置
WindModule::getRequest()
返回当前应用的WindHttpRequest对象
WindModule::getResponse()
返回当前应用的WindHttpResponse对象
WindModule::getSystemFactory()
返回当前应用的WindFactory对象
WindModule::setConfig()
设置类配置
WindModule::setDelayAttributes()
设置延迟加载类属性相关组件配置信息
WindModule::toArray()
返回该对象的数组类型
WindModule::writeTableCloneProperty()
类对象clone白名单
WindModule::__call()
重载了魔术方法__call
WindModule::__clone()
重载魔术方法__clone
WindModule::__get()
重载了魔术方法__get
WindModule::__set()
重载了魔术方法__set

[ Top ]
Property Summary
boolean   $auth   是否启用验证
string   $host   邮件发送服务器
string   $name  
string   $password  
int   $port   邮件发送端口
WindSmtp   $smtp  
string   $timeout   请求超时时间
string   $username  

[ Top ]
Method Summary
void   send()  

[ Top ]
Properties
boolean   $auth [line 52]

是否启用验证

API Tags:
Access:  protected


[ Top ]
string   $host [line 36]

邮件发送服务器

API Tags:
Access:  protected


[ Top ]
string   $name [line 46]
API Tags:
Access:  protected


[ Top ]
string   $password [line 60]
API Tags:
Access:  protected


[ Top ]
int   $port [line 42]

邮件发送端口

API Tags:
Access:  protected


[ Top ]
WindSmtp   $smtp = null [line 30]
API Tags:
Access:  protected


[ Top ]
string   $timeout = 60 [line 66]

请求超时时间

API Tags:
Access:  protected


[ Top ]
string   $username [line 56]
API Tags:
Access:  protected


[ Top ]
Methods
send  [line 72]

  void send( WindMail $mail, [ $config = array()]  )

Parameters:
WindMail   $mail: 
   $config: 

API Tags:
See:  IWindSendMail::send()
Access:  public


Implementation of:
IWindSendMail::send()
发送邮件

[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:40 +0800 by phpDocumentor 1.4.4