TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Mail\MboxTransport Class Reference
Inheritance diagram for TYPO3\CMS\Core\Mail\MboxTransport:
t3lib_mail_MboxTransport

Public Member Functions

 __construct ($debugFile)
 
 isStarted ()
 
 start ()
 
 stop ()
 
 registerPlugin (\Swift_Events_EventListener $plugin)
 

Private Member Functions

 getReversePath (\Swift_Mime_Message $message)
 

Private Attributes

 $debugFile
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Adapter for Swift_Mailer to be used by TYPO3 extensions.

This will use the setting in TYPO3_CONF_VARS to choose the correct transport for it to work out-of-the-box.

Author
Ernesto Baschny ernst.nosp@m.@cro.nosp@m.n-it..nosp@m.de

Definition at line 24 of file MboxTransport.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Mail\MboxTransport::__construct (   $debugFile)

Create a new MailTransport

Parameters
string$debugFile

Definition at line 36 of file MboxTransport.php.

References TYPO3\CMS\Core\Mail\MboxTransport\$debugFile.

Member Function Documentation

◆ getReversePath()

TYPO3\CMS\Core\Mail\MboxTransport::getReversePath ( \Swift_Mime_Message  $message)
private

Determine the best-use reverse path for this message

Parameters
\Swift_Mime_Message$message
Returns
mixed|NULL

Definition at line 102 of file MboxTransport.php.

Referenced by TYPO3\CMS\Core\Mail\MboxTransport\stop().

◆ isStarted()

TYPO3\CMS\Core\Mail\MboxTransport::isStarted ( )

Not used.

Definition at line 43 of file MboxTransport.php.

◆ registerPlugin()

TYPO3\CMS\Core\Mail\MboxTransport::registerPlugin ( \Swift_Events_EventListener  $plugin)

Register a plugin in the Transport.

Parameters
\Swift_Events_EventListener$plugin
Returns
bool

Definition at line 125 of file MboxTransport.php.

◆ start()

TYPO3\CMS\Core\Mail\MboxTransport::start ( )

Not used.

Definition at line 50 of file MboxTransport.php.

◆ stop()

Member Data Documentation

◆ $debugFile

TYPO3\CMS\Core\Mail\MboxTransport::$debugFile
private

Definition at line 29 of file MboxTransport.php.

Referenced by TYPO3\CMS\Core\Mail\MboxTransport\__construct().