magic-core
[ class tree: magic-core ] [ index: magic-core ] [ all elements ]

Class: Mailer

Source Location: /core/tool/mail/Mailer.php

Interface Overview


メール送信クラスのインターフェイスです.


Author(s):

  • T.Okumura

Version:

  • 1.0.0

Methods



Class Details

[line 17]
メール送信クラスのインターフェイスです.

このクラスは必要な時に実装クラスによってロードされます。




Tags:

author:  T.Okumura
version:  1.0.0


[ Top ]


Class Methods


method getError [line 43]

string getError( )

直近のエラーを取得します.



Tags:

return:  発生した直近のエラー


[ Top ]

method send [line 38]

bool send( string $header, string $body)

送信処理.

このファンクションが返す結果は、送信までの結果です。
これは先方に届いたかどうかではない事に注意してください。




Tags:

return:  正常に送信されればTRUE


Parameters:

string   $header   メールヘッダ
string   $body   メールボディ

[ Top ]

method setFrom [line 22]

void setFrom( string $from)

FROMを設定します.



Parameters:

string   $from  

[ Top ]

method setTo [line 27]

void setTo( string $to)

TOを設定します.



Parameters:

string   $to  

[ Top ]


Documentation generated on Fri, 16 Dec 2011 11:13:53 +0100 by phpDocumentor 1.4.3