Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

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

Interfaces

  • Swift_DependencyException
  • Swift_Filterable
  • Swift_IoException
  • Swift_ReplacementFilterFactory
  • Swift_RfcComplianceException
  • Swift_Spool
  • Swift_StreamFilter
  • Swift_SwiftException
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Swift_Mailer

Swift Mailer class.

Direct known subclasses

cMailer
Package: Swift
Author: Chris Corbyn
Located at classes/swiftmailer/lib/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
public static Swift_Mailer
# newInstance( Swift_Transport $transport )

Create a new Mailer instance.

Create a new Mailer instance.

Parameters

$transport

Returns

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

Create a new class instance of one of the message services For example 'mimepart' would create a 'message.mimepart' instance

Create a new class instance of one of the message services For example 'mimepart' would create a 'message.mimepart' instance

Parameters

$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
$failedRecipients
$failedRecipients, optional

Returns

integer
public
# registerPlugin( Swift_Events_EventListener $plugin, string $key,… )

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

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

Parameters

$plugin
$key,…
public Swift_Transport
# getTransport( )

The Transport used to send messages.

The Transport used to send messages.

Returns

Swift_Transport
Properties summary
private $_transport

The Transport used to send messages

The Transport used to send messages

#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen