![]() |
TYPO3
7.6
|
Static Public Member Functions | |
| static | newInstance ($subject=null, $body=null, $contentType=null, $charset=null) |
Protected Member Functions | |
| doSign () | |
| saveMessage () | |
| saveHeaders (array $altered) | |
| restoreHeaders () | |
| restoreMessage () | |
Protected Member Functions inherited from Swift_Mime_MimePart | |
| _fixHeaders () | |
| _setNestingLevel ($level) | |
| _convertString ($string) | |
Protected Member Functions inherited from Swift_Mime_SimpleMimeEntity | |
| _bodyToString () | |
| _bodyToByteStream (Swift_InputByteStream $is) | |
| _getIdField () | |
| _getHeaderFieldModel ($field) | |
| _setHeaderFieldModel ($field, $model) | |
| _getHeaderParameter ($field, $parameter) | |
| _setHeaderParameter ($field, $parameter, $value) | |
| _fixHeaders () | |
| _getCache () | |
| _getGrammar () | |
| _clearCache () | |
| getRandomId () | |
Private Attributes | |
| $headerSigners = array() | |
| $bodySigners = array() | |
| $savedMessage = array() | |
Additional Inherited Members | |
Public Attributes inherited from Swift_Mime_MimeEntity | |
| const | LEVEL_TOP = 16 |
| const | LEVEL_MIXED = 256 |
| const | LEVEL_ALTERNATIVE = 4096 |
| const | LEVEL_RELATED = 65536 |
Protected Attributes inherited from Swift_Mime_MimePart | |
| $_userFormat | |
| $_userCharset | |
| $_userDelSp | |
The Message class for building emails.
Definition at line 16 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
| __construct | ( | $subject = null, |
|
$body = null, |
|||
$contentType = null, |
|||
$charset = null |
|||
| ) |
Create a new Message.
Details may be optionally passed into the constructor.
| string | $subject | |
| string | $body | |
| string | $contentType | |
| string | $charset |
Definition at line 43 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_DependencyContainer\getInstance(), Swift_Mime_MimePart\setBody(), Swift_Mime_MimePart\setCharset(), Swift_Mime_SimpleMimeEntity\setContentType(), and Swift_Mime_SimpleMessage\setSubject().
| __clone | ( | ) |
Clone Message Signers.
Definition at line 280 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
| __wakeup | ( | ) |
Definition at line 186 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_DependencyContainer\getInstance().
| addPart | ( | $body, | |
$contentType = null, |
|||
$charset = null |
|||
| ) |
Add a MimePart to this Message.
| string | Swift_OutputByteStream | $body | |
| string | $contentType | |
| string | $charset |
Definition at line 87 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_Mime_SimpleMessage\attach(), and Swift_MimePart\newInstance().
| attachSigner | ( | Swift_Signer | $signer | ) |
Attach a new signature handler to the message.
| Swift_Signer | $signer |
Definition at line 101 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References elseif.
| detachSigner | ( | Swift_Signer | $signer | ) |
Attach a new signature handler to the message.
| Swift_Signer | $signer |
Definition at line 119 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References elseif.
|
protected |
loops through signers and apply the signatures.
Definition at line 194 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_Mime_SimpleMimeEntity\_bodyToByteStream(), Swift_Mime_MimeEntity\getHeaders(), and saveHeaders().
Referenced by toByteStream(), and toString().
|
static |
Create a new Message.
| string | $subject | |
| string | $body | |
| string | $contentType | |
| string | $charset |
Definition at line 73 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
|
protected |
Remove or restore altered headers.
Definition at line 250 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_Mime_MimeEntity\getHeaders().
Referenced by restoreMessage().
|
protected |
Restore message body.
Definition at line 266 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References restoreHeaders(), Swift_Mime_MimePart\setBody(), and Swift_Mime_MimeEntity\setChildren().
Referenced by toByteStream(), and toString().
|
protected |
save the original headers.
| array | $altered |
Definition at line 236 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_Mime_MimeEntity\getHeaders().
Referenced by doSign().
|
protected |
save the message before any signature is applied.
Definition at line 220 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References Swift_Mime_SimpleMessage\_becomeMimePart(), Swift_Mime_MimeEntity\getBody(), Swift_Mime_MimeEntity\getChildren(), Swift_Mime_MimePart\setBody(), and Swift_Mime_MimeEntity\setChildren().
Referenced by toByteStream(), and toString().
| toByteStream | ( | Swift_InputByteStream | $is | ) |
Write this message to a Swift_InputByteStream.
| Swift_InputByteStream | $is |
Implements Swift_Mime_MimeEntity.
Definition at line 169 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References doSign(), restoreMessage(), and saveMessage().
| toString | ( | ) |
Get this message as a complete string.
Implements Swift_Mime_MimeEntity.
Definition at line 147 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
References doSign(), restoreMessage(), and saveMessage().
|
private |
Definition at line 26 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
|
private |
Definition at line 21 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
|
private |
Definition at line 31 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php.
1.8.3