__construct()
__destruct()
disconnect()
getAutoDisconnect()
getConnection()
getEnvelope()
getOptions()
getPluginManager()
plugin()
send()
setAutoDisconnect()
setConnection()
setEnvelope()
setOptions()
setPluginManager()
connect()
lazyLoadConnection()
prepareBody()
prepareFromAddress()
prepareHeaders()
prepareRecipients()
$autoDisconnect
$connection
$envelope
$options
$plugins
SMTP connection object
Loads an instance of Zend\Mail\Protocol\Smtp and forwards smtp transactions
__construct(\Zend\Mail\Transport\SmtpOptions $options)
__destruct()
disconnect() : void
getAutoDisconnect() : bool
bool
getPluginManager() : \Zend\Mail\Protocol\SmtpPluginManager
send(\Zend\Mail\Message $message) :
The connection via the protocol adapter is made just-in-time to allow a developer to add a custom adapter if required before mail is sent.
\Zend\Mail\Message
\Zend\Mail\Transport\Exception\RuntimeException |
---|
setAutoDisconnect(bool $flag) : \Zend\Mail\Transport\Smtp
setConnection(\Zend\Mail\Protocol\AbstractProtocol $connection)
\Zend\Mail\Protocol\AbstractProtocol
setEnvelope(\Zend\Mail\Transport\Envelope $envelope)
\Zend\Mail\Transport\Envelope
setPluginManager(\Zend\Mail\Protocol\SmtpPluginManager $plugins) : \Zend\Mail\Transport\Smtp
prepareBody(\Zend\Mail\Message $message) : string
prepareFromAddress(\Zend\Mail\Message $message) : string
\Zend\Mail\Message
\Zend\Mail\Transport\Exception\RuntimeException |
---|
string
prepareHeaders(\Zend\Mail\Message $message) : string
prepareRecipients(\Zend\Mail\Message $message) : array
$autoDisconnect : bool