Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • Swift
  • Swift_ConfigurableSpool
  • Swift_DependencyContainer
  • Swift_FileSpool
  • Swift_Mailer
  • Swift_MemorySpool
  • Swift_NullTransport
  • Swift_Preferences
  • Swift_SpoolTransport
  • Swift_StreamFilters_ByteArrayReplacementFilter
  • Swift_StreamFilters_StringReplacementFilter
  • Swift_StreamFilters_StringReplacementFilterFactory
  • Swift_Transport_NullTransport
  • Swift_Transport_SpoolTransport
  • Swift_Validate
  • waMail

Interfaces

  • Swift_Filterable
  • Swift_ReplacementFilterFactory
  • Swift_Spool
  • Swift_StreamFilter

Exceptions

  • Swift_DependencyException
  • Swift_IoException
  • Swift_RfcComplianceException
  • Swift_SwiftException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Swift_Mailer

Swift Mailer class.

Direct known subclasses

waMail
Package: Swift
Author: Chris Corbyn
Located at wa-system/vendors/swift/classes/Swift/Mailer.php
Methods summary
public
# __construct( Swift_Transport $transport )

Create a new Mailer using $transport for delivery.

Create a new Mailer using $transport for delivery.

Parameters

$transport
Swift_Transport
$transport
public static Swift_Mailer
# newInstance( Swift_Transport $transport )

Create a new Mailer instance.

Create a new Mailer instance.

Parameters

$transport
Swift_Transport
$transport

Returns

Swift_Mailer
public object
# createMessage( string $service = 'message' )

Create a new class instance of one of the message services.

Create a new class instance of one of the message services.

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

Parameters

$service
string
$service

Returns

object
public integer
# send( Swift_Mime_Message $message, array & $failedRecipients = null )

Send the given Message like it would be sent in a mail client.

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.

Parameters

$message
Swift_Mime_Message
$message
$failedRecipients
array
$failedRecipients An array of failures by-reference

Returns

integer
public
# registerPlugin( Swift_Events_EventListener $plugin )

Register a plugin using a known unique key (e.g. myPlugin).

Register a plugin using a known unique key (e.g. myPlugin).

Parameters

$plugin
Swift_Events_EventListener
$plugin
public Swift_Transport
# getTransport( )

The Transport used to send messages.

The Transport used to send messages.

Returns

Swift_Transport
Properties summary
protected mixed $_transport
#

The Transport used to send messages

The Transport used to send messages

My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0