interface DriverInterface

An interface for a mail service.

This interface provides all methods necessary for configuring, checking and using one of Laravel's various email drivers throughout Flarum.

Methods

array
availableSettings()

<p>Provide a list of settings for this driver.</p>

Swift_Transport
buildTransport(SettingsRepositoryInterface $settings)

<p>Build a mail transport based on Flarum's current settings.</p>

Details

array availableSettings()

<p>Provide a list of settings for this driver.</p>

Return Value

array

Swift_Transport buildTransport(SettingsRepositoryInterface $settings)

<p>Build a mail transport based on Flarum's current settings.</p>

Parameters

SettingsRepositoryInterface $settings

Return Value

Swift_Transport