Mail: ezcMailFile
[ ]
[ Display example ] [ Mail listing example ] [ Rfcs ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMailFile
|
Mail part for binary data from the file system. [
source]
Parents
ezcMailPart
|
--ezcMailFilePart
|
--ezcMailFile
Inherited Constants
From
ezcMailFilePart:
Inherited Member Variables
From
ezcMailPart:
Method Summary
|
public ezcMailFile |
__construct(
$fileName, [$contentType = null], [$mimeType = null] )
Constructs a new attachment with $fileName. |
|
public string |
generateBody(
)
Returns the contents of the file with the correct encoding. |
Inherited Methods
From
ezcMailFilePart :
From
ezcMailPart :
Methods
__construct
ezcMailFile __construct(
string
$fileName, [string
$contentType = null], [string
$mimeType = null] )
Constructs a new attachment with $fileName.
If the $mimeType and $contentType are not specified they are extracted with the fileinfo extension if it is available, otherwise they are set to application/octet-stream.
Parameters
| Name |
Type |
Description |
$fileName |
string |
|
$contentType |
string |
|
$mimeType |
string |
|
Redefinition of
generateBody
string generateBody(
)
Returns the contents of the file with the correct encoding.
Redefinition of
Last updated: Mon, 21 Dec 2009