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_FailoverTransport
  • Swift_LoadBalancedTransport
  • Swift_MailTransport
  • Swift_Plugins_Loggers_ArrayLogger
  • Swift_Plugins_Loggers_EchoLogger
  • Swift_SendmailTransport
  • Swift_SmtpTransport
  • Swift_Transport_AbstractSmtpTransport
  • Swift_Transport_Esmtp_Auth_CramMd5Authenticator
  • Swift_Transport_Esmtp_Auth_LoginAuthenticator
  • Swift_Transport_Esmtp_Auth_PlainAuthenticator
  • Swift_Transport_Esmtp_AuthHandler
  • Swift_Transport_EsmtpTransport
  • Swift_Transport_FailoverTransport
  • Swift_Transport_LoadBalancedTransport
  • Swift_Transport_MailTransport
  • Swift_Transport_SendmailTransport
  • Swift_Transport_SimpleMailInvoker
  • Swift_Transport_StreamBuffer

Interfaces

  • Swift_Plugins_Logger
  • Swift_Transport
  • Swift_Transport_Esmtp_Authenticator
  • Swift_Transport_EsmtpHandler
  • Swift_Transport_IoBuffer
  • Swift_Transport_MailInvoker
  • Swift_Transport_SmtpAgent

Exceptions

  • Swift_Plugins_Pop_Pop3Exception
  • Swift_TransportException

Class Swift_Transport_SendmailTransport

SendmailTransport for sending mail through a sendmail/postfix (etc..) binary.

Supported modes are -bs and -t, with any additional flags desired. It is advised to use -bs mode since error reporting with -t mode is not possible.

Swift_Transport_AbstractSmtpTransport implements Swift_Transport
Extended by Swift_Transport_SendmailTransport

Direct known subclasses

Swift_SendmailTransport

Package: Swift\Transport
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php

Methods summary

public
# __construct( Swift_Transport_IoBuffer $buf, Swift_Events_EventDispatcher $dispatcher )

Create a new SendmailTransport with $buf for I/O.

Create a new SendmailTransport with $buf for I/O.

Parameters

$buf
Swift_Transport_IoBuffer
$buf
$dispatcher
Swift_Events_EventDispatcher
$dispatcher

Overrides

Swift_Transport_AbstractSmtpTransport::__construct
public
# start( )

Start the standalone SMTP session if running in -bs mode.

Start the standalone SMTP session if running in -bs mode.

Overrides

Swift_Transport_AbstractSmtpTransport::start
public Swift_Transport_SendmailTransport
# setCommand( string $command )

Set the command to invoke. If using -t mode you are strongly advised to include -oi or -i in the flags. For example: /usr/sbin/sendmail -oi -t Swift will append a -f<sender> flag if one is not present. The recommended mode is "-bs" since it is interactive and failure notifications are hence possible.

Set the command to invoke. If using -t mode you are strongly advised to include -oi or -i in the flags. For example: /usr/sbin/sendmail -oi -t Swift will append a -f<sender> flag if one is not present. The recommended mode is "-bs" since it is interactive and failure notifications are hence possible.

Parameters

$command
string
$command

Returns

Swift_Transport_SendmailTransport
public string
# getCommand( )

Get the sendmail command which will be invoked.

Get the sendmail command which will be invoked.

Returns

string
public integer
# send( Swift_Mime_Message $message, string[] & $failedRecipients = null )

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. NOTE: If using 'sendmail -t' you will not be aware of any failures until they bounce (i.e. send() will always return 100% success).

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. NOTE: If using 'sendmail -t' you will not be aware of any failures until they bounce (i.e. send() will always return 100% success).

Parameters

$message
Swift_Mime_Message
$message
$failedRecipients
string[]
&$failedRecipients to collect failures by-reference

Returns

integer

Overrides

Swift_Transport_AbstractSmtpTransport::send
protected
# _getBufferParams( )

Get the params to initialize the buffer

Get the params to initialize the buffer

Methods inherited from Swift_Transport_AbstractSmtpTransport

__destruct(), _assertResponseCode(), _doDataCommand(), _doHeloCommand(), _doMailFromCommand(), _doRcptToCommand(), _getFullResponse(), _getReversePath(), _readGreeting(), _streamMessage(), _throwException(), executeCommand(), getBuffer(), getLocalDomain(), getSourceIp(), isStarted(), registerPlugin(), reset(), setLocalDomain(), setSourceIp(), stop()

Magic methods summary

Properties summary

private array $_params
#

Connection buffer parameters.

Connection buffer parameters.

Properties inherited from Swift_Transport_AbstractSmtpTransport

$_buffer, $_domain, $_eventDispatcher, $_sourceIp, $_started

Blesta API documentation generated by ApiGen 2.8.0