<p>This allows you to override the mail transport object with your own approach.</p>

<p>Fires only if the config flag <code>enableMail</code> is true.</p>

<p>See <code>\XF\Mail\Mailer::getTransportFromOption()</code> for more info on transport objects.</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\Container</em> $container, &amp;$transport = null</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\Container</em> $container</code> - Dependency injection container object.</li>
	<li><code>&amp;$transport</code> - This argument allows you to return the mail transport object override.</li>
</ol>