swiftmailer\Message $from

$from public property The sender public string getFrom ( )public $this setFrom ( $from )

swiftmailer\Mailer setTransport()

setTransport() public method public void setTransport ( $transport )$transport array|\Swift_Transport throws yii\base\InvalidConfigException on invalid argument.

swiftmailer\Mailer sendMessage()

sendMessage() protected method Sends the specified message. This method should be implemented by child classes with the actual email sending logic. protected boolean sendMessage ( $message )$message yii\mail\MessageInterface The message to be sent return boolean Whether the message is sent successfully

swiftmailer\Message $bcc

$bcc public property The Bcc (hidden copy receiver) addresses of this message. public array getBcc ( )public $this setBcc ( $bcc )

swiftmailer\Mailer createTransport()

createTransport() protected method Creates email transport instance by its array configuration. protected \Swift_Transport createTransport ( array $config )$config array Transport configuration. return \Swift_Transport Transport instance. throws yii\base\InvalidConfigException on invalid transport configuration.

swiftmailer\Mailer createSwiftObject()

createSwiftObject() protected method Creates Swift library object, from given array configuration. protected Object createSwiftObject ( array $config )$config array Object configuration return Object Created object throws yii\base\InvalidConfigException on invalid configuration.

swiftmailer\Mailer getTransport()

getTransport() public method public array|\Swift_Transport getTransport ( )

swiftmailer\Mailer getSwiftMailer()

getSwiftMailer() public method public array|\Swift_Mailer getSwiftMailer ( )return array|\Swift_Mailer Swift mailer instance or array configuration.

swiftmailer\Mailer $enableSwiftMailerLogging

$enableSwiftMailerLogging public property Whether to enable writing of the SwiftMailer internal logs using Yii log mechanism. If enabled yii\swiftmailer\Logger plugin will be attached to the $transport for this purpose. See also yii\swiftmailer\Logger. public boolean $enableSwiftMailerLogging = false

swiftmailer\Mailer $messageClass

$messageClass public property Message default class name. public string $messageClass = 'yii\swiftmailer\Message'