Mail_Mbox::_process (Previous) (Next) Mail_Mime - 例

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Mail_Mime

目次
Mail_Mime - 例 -- MIME メールの生成と送信
Mail_mimeDecode - 例 -- メールデコード
Mail_Mime::Mail_Mime() -- 新規インスタンスを作成する
Mail_Mime::addAttachment() -- 添付を追加する
Mail_Mime::addHTMLImage() -- イメージをメッセージに追加
Mail_Mime::get() -- メッセージを構築する
Mail_Mime::headers() -- ヘッダ行を構築する
Mail_Mime::setHTMLBody() -- HTML 部分を設定する
Mail_Mime::setTxtBody() -- プレインテキスト部分を設定する
Mail_mimePart::Mail_mimePart() -- コンストラクタ
Mail_mimePart::addsubpart() -- MIME パートにサブパートを追加する
Mail_mimePart::encode() -- メールをエンコードする
Mail_mimeDecode::Mail_mimeDecode() -- コンストラクタ
Mail_mimeDecode::decode() -- デコードを実行する
Mail_mimeDecode::uudecode() -- UUコードデータのデコード
Mail_mimeDecode::getXML() -- MIME パートの XML 表現を作成する

複雑なマルチパートメールの作成を容易にするパッケージです。 あなたが、電子メールを作成するための単純なAPIを捜しているなら、 Mail_Mimeクラスは恐らく十分でしょう。 また、Mail_mimePartを使用することで、 よりよいMIME生成の制御が出来ます。

Mail_mimeDecodeクラスはMIMEデータのデコードの為の APIを提供します。

Mail_Mbox::_process (Previous) (Next) Mail_Mime - 例

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: PixEye
If you want to use a special charset encoding (UTF-8 for example) and/or use base64 instead of quoted-printable, you should use the optional array parameter of function get(). See the API documentation for list of options supported. HTH.
Note by: zarthras
I'd like to point out, that there are quite a few more methods to the mime object than listed here. Among them such important helpers like

setSubject()
setFrom()
adBcc()

and so on. I'm not sure why they weren't put in the documentation, but you will find all of them in the api docs.