Mail_Mime::Mail_Mime() – creates a new instance


require_once 'Mail/mime.php';

Mail_mime Mail_mime ( string $crlf = "\r\n" )


Creates a new instance of Mail_Mime


  • string $crlf - the type of line end to use.


Normally, it is not necessary to set the $crlf parameter. But, if you want to send the generated MIME message using Mail then you have to set $crlf to "\n"

Mail_mimeDecode - Example (Previous) Mail_Mime::addAttachment() (Next)
Last updated: Tue, 02 Jun 2009 — 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:

There are no user contributed notes for this page.