‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Command\SendEmailCommand Class Reference
Inheritance diagram for TYPO3\CMS\Core\Command\SendEmailCommand:

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 
 getMailer ()
 

Detailed Description

Command for sending spooled messages.

Inspired and partially taken from symfony's swiftmailer package, adapted for Symfony/Mailer.

https://github.com/symfony/swiftmailer-bundle/blob/master/Command/SendEmailCommand.php

Definition at line 37 of file SendEmailCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Core\Command\SendEmailCommand::configure ( )
protected

Defines the allowed options for this command

Definition at line 42 of file SendEmailCommand.php.

◆ execute()

TYPO3\CMS\Core\Command\SendEmailCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the mailer command

Definition at line 54 of file SendEmailCommand.php.

References $output, and TYPO3\CMS\Core\Command\SendEmailCommand\getMailer().

◆ getMailer()

TYPO3\CMS\Core\Command\SendEmailCommand::getMailer ( )
protected

Returns the TYPO3 mailer.

Definition at line 84 of file SendEmailCommand.php.

Referenced by TYPO3\CMS\Core\Command\SendEmailCommand\execute().