[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/ -> Message.php (summary)

(no description)

File Size: 291 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Message:: (14 methods):
  __construct()
  newInstance()
  addPart()
  attachSigner()
  detachSigner()
  toString()
  toByteStream()
  __wakeup()
  doSign()
  saveMessage()
  saveHeaders()
  restoreHeaders()
  restoreMessage()
  __clone()


Class: Swift_Message  - X-Ref

The Message class for building emails.

__construct($subject = null, $body = null, $contentType = null, $charset = null)   X-Ref
Create a new Message.

Details may be optionally passed into the constructor.

param: string $subject
param: string $body
param: string $contentType
param: string $charset

newInstance($subject = null, $body = null, $contentType = null, $charset = null)   X-Ref
Create a new Message.

param: string $subject
param: string $body
param: string $contentType
param: string $charset
return: Swift_Message

addPart($body, $contentType = null, $charset = null)   X-Ref
Add a MimePart to this Message.

param: string|Swift_OutputByteStream $body
param: string                        $contentType
param: string                        $charset
return: Swift_Mime_SimpleMessage

attachSigner(Swift_Signer $signer)   X-Ref
Attach a new signature handler to the message.

param: Swift_Signer $signer
return: Swift_Message

detachSigner(Swift_Signer $signer)   X-Ref
Attach a new signature handler to the message.

param: Swift_Signer $signer
return: Swift_Message

toString()   X-Ref
Get this message as a complete string.

return: string

toByteStream(Swift_InputByteStream $is)   X-Ref
Write this message to a {@link Swift_InputByteStream}.

param: Swift_InputByteStream $is

__wakeup()   X-Ref
No description

doSign()   X-Ref
loops through signers and apply the signatures.


saveMessage()   X-Ref
save the message before any signature is applied.


saveHeaders(array $altered)   X-Ref
save the original headers.

param: array $altered

restoreHeaders()   X-Ref
Remove or restore altered headers.


restoreMessage()   X-Ref
Restore message body.


__clone()   X-Ref
Clone Message Signers.




Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1