[ Index ]

MailPress 544

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

title

Body

[close]

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

(no description)

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

Defines 1 class

Swift_Mailer:: (6 methods):
  __construct()
  newInstance()
  createMessage()
  send()
  registerPlugin()
  getTransport()


Class: Swift_Mailer  - X-Ref

Swift Mailer class.

__construct(Swift_Transport $transport)   X-Ref
Create a new Mailer using $transport for delivery.

param: Swift_Transport $transport

newInstance(Swift_Transport $transport)   X-Ref
Create a new Mailer instance.

param: Swift_Transport $transport
return: Swift_Mailer

createMessage($service = 'message')   X-Ref
Create a new class instance of one of the message services.

For example 'mimepart' would create a 'message.mimepart' instance

param: string $service
return: object

send(Swift_Mime_Message $message, &$failedRecipients = null)   X-Ref
Send the given Message like it would be sent in a mail client.

All recipients (with the exception of Bcc) will be able to see the other
recipients this message was sent to.

Recipient/sender data will be retrieved from the Message object.

The return value is the number of recipients who were accepted for
delivery.

param: Swift_Mime_Message $message
param: array              $failedRecipients An array of failures by-reference
return: int

registerPlugin(Swift_Events_EventListener $plugin)   X-Ref
Register a plugin using a known unique key (e.g. myPlugin).

param: Swift_Events_EventListener $plugin

getTransport()   X-Ref
The Transport used to send messages.

return: Swift_Transport



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