[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ -> Transport.php (summary)

(no description)

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

Defines 1 class

Swift_Transport:: (6 methods):
  isStarted()
  start()
  stop()
  ping()
  send()
  registerPlugin()


Interface: Swift_Transport  - X-Ref

Sends Messages via an abstract Transport subsystem.

isStarted()   X-Ref
Test if this Transport mechanism has started.

return: bool

start()   X-Ref
Start this Transport mechanism.


stop()   X-Ref
Stop this Transport mechanism.


ping()   X-Ref
Check if this Transport mechanism is alive.

If a Transport mechanism session is no longer functional, the method
returns FALSE. It is the responsibility of the developer to handle this
case and restart the Transport mechanism manually.

return: bool TRUE if the transport is alive

send(Swift_Mime_SimpleMessage $message, &$failedRecipients = null)   X-Ref
Send the given Message.

Recipient/sender data will be retrieved from the Message API.
The return value is the number of recipients who were accepted for delivery.

This is the responsibility of the send method to start the transport if needed.

param: string[] $failedRecipients An array of failures by-reference
return: int

registerPlugin(Swift_Events_EventListener $plugin)   X-Ref
Register a plugin in the Transport.




Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1