Mail_Mime

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

Table of Contents
Mbox を処理する (Previous) 新規インスタンスを作成する (Next)
Last updated: Wed, 22 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

Note by: brandonusa
when doing bulk emailing using sendmail MTA - this function hangs

$mail->send('postmaster@localhost', $hdrs, $body);


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.