Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • 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_Filterable
  • Swift_ReplacementFilterFactory
  • Swift_Spool
  • Swift_StreamFilter

Exceptions

  • Swift_DependencyException
  • Swift_IoException
  • Swift_RfcComplianceException
  • Swift_SwiftException

Class Swift_Mailer

Swift Mailer class.

Package: Swift
Author: Chris Corbyn
Located at vendors/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
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 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
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, optional

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

Magic methods summary

Properties summary

private mixed $_transport
#

The Transport used to send messages

The Transport used to send messages

Blesta API documentation generated by ApiGen 2.8.0