Mail: ezcMailMultipartReport
[ ]
[ Display example ] [ Mail listing example ] [ Rfcs ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMailMultipartReport
|
Mail part multipart/report used primarily to send delivery status notification messages. [
source]
The subparts of this mail part are according to RFC 3462:
- A human readable part. The purpose of this part is to provide an easily understood
description of the condition(s) that caused the report to be generated.
Use the methods getReadablePart() and setReadablePart() to work with this part.
2. A machine parsable body part containing an account of the reported message handling event. The purpose of this body part is to provide a machine-readable description of the condition(s) that caused the report to be generated, along with details not present in the first body part that may be useful to human experts. Use the methods getMachinePart() and setMachinePart() to work with this part.
3. Optional. A body part containing the returned message or a portion thereof. This information may be useful to aid human experts in diagnosing problems. Use the methods getOriginalPart() and setOriginalPart() to work with this part.
Parents
ezcMailPart
|
--ezcMailMultipart
|
--ezcMailMultipartReport
Properties
|
string |
read/write
|
$reportType
The report type of the multipart report. Default is "delivery-status". |
Inherited Member Variables
From
ezcMailMultipart:
Method Summary
|
public ezcMailMultipartReport |
__construct(
$... )
Constructs a new ezcMailMultipartReport. |
|
public void |
appendPart(
$part )
Appends a part to the list of parts. |
|
public ezcMailPart |
getMachinePart(
)
Returns the machine part of this multipart or null if there is no such part. |
|
public ezcMailPart |
getOriginalPart(
)
Returns the original content part of this multipart or null if there is no such part. |
|
public array(ezcMailPart) |
getParts(
)
Returns the mail parts associated with this multipart. |
|
public ezcMailPart |
getReadablePart(
)
Returns the readable part of this multipart or null if there is no such part. |
|
public string |
multipartType(
)
Returns "report". |
|
public void |
setMachinePart(
$part )
Sets the machine $part of this report multipart. |
|
public void |
setOriginalPart(
$part )
Sets the original content $part of this report multipart. |
|
public void |
setReadablePart(
$part )
Sets the readable $part of this report multipart. |
Inherited Methods
From
ezcMailMultipart :
From
ezcMailPart :
Methods
__construct
ezcMailMultipartReport __construct(
ezcMailPart|array(ezcMailPart)
$... )
Constructs a new ezcMailMultipartReport.
Parameters
| Name |
Type |
Description |
$... |
ezcMailPart|array(ezcMailPart) |
|
Redefinition of
appendPart
Appends a part to the list of parts.
Parameters
getMachinePart
Returns the machine part of this multipart or null if there is no such part.
getOriginalPart
Returns the original content part of this multipart or null if there is no such part.
getParts
array(ezcMailPart) getParts(
)
Returns the mail parts associated with this multipart.
getReadablePart
Returns the readable part of this multipart or null if there is no such part.
multipartType
string multipartType(
)
Returns "report".
Redefinition of
setMachinePart
Sets the machine $part of this report multipart.
Parameters
setOriginalPart
Sets the original content $part of this report multipart.
Parameters
setReadablePart
Sets the readable $part of this report multipart.
Parameters
Last updated: Thu, 31 Jan 2008