Mail: ezcMailOptions
[ ]
[ Display example ] [ Mail listing example ] [ Rfcs ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMailOptions
|
Class containing the options for the mail generator. [
source]
Example of how to use the mail options:
1. $options = new ezcMailOptions();
2. $options->stripBccHeader = true; // default value is false
3.
4. $mail = new ezcMail( $options );
Alternatively, you can set the options direcly:
1. $mail = new ezcMail();
2. $mail->options->stripBccHeader = true;
Parents
ezcBaseOptions
|
--ezcMailOptions
Descendents
Properties
|
bool |
read/write
|
$stripBccHeader
Specifies whether to strip the Bcc header from a mail before sending it. This can prevent problems with certain SMTP servers where the Bcc header appears visible to the To and Cc recipients (issue #16154: Bcc headers are not stripped when using SMTP). |
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public ezcMailOptions |
__construct(
[$options = array()] )
Constructs an object with the specified values. |
Inherited Methods
From
ezcBaseOptions :
Methods
__construct
ezcMailOptions __construct(
[
$options = array()] )
Constructs an object with the specified values.
Parameters
| Name |
Type |
Description |
$options |
array(string=>mixed) |
|
Throws
| Class | Description |
ezcBaseValueException |
if $options contains a property with a value not allowed |
ezcBasePropertyNotFoundException |
if $options contains a property not defined |
Redefinition of
Redefined in descendants as
Last updated: Tue, 23 Mar 2010