On this page
Transport
abstract class Transport implements Swift_Transport (View source)
Properties
| array | $plugins | The plug-ins registered with the transport. |
Methods
| bool | isStarted() {@inheritdoc} |
|
| start() {@inheritdoc} |
||
| stop() {@inheritdoc} |
||
| bool | ping() {@inheritdoc} |
|
| void | registerPlugin(Swift_Events_EventListener $plugin) Register a plug-in with the transport. |
|
| void | beforeSendPerformed(Swift_Mime_SimpleMessage $message) Iterate through registered plugins and execute plugins' methods. |
|
| void | sendPerformed(Swift_Mime_SimpleMessage $message) Iterate through registered plugins and execute plugins' methods. |
|
| int | numberOfRecipients(Swift_Mime_SimpleMessage $message) Get the number of recipients. |
Details
bool isStarted()
{@inheritdoc}
start()
{@inheritdoc}
stop()
{@inheritdoc}
bool ping()
{@inheritdoc}
void registerPlugin(Swift_Events_EventListener $plugin)
Register a plug-in with the transport.
protected void beforeSendPerformed(Swift_Mime_SimpleMessage $message)
Iterate through registered plugins and execute plugins' methods.
protected void sendPerformed(Swift_Mime_SimpleMessage $message)
Iterate through registered plugins and execute plugins' methods.
protected int numberOfRecipients(Swift_Mime_SimpleMessage $message)
Get the number of recipients.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Mail/Transport/Transport.html